make it cleaner
diff --git a/.github/workflows/checks.sh b/.github/workflows/checks.sh index 52f4929..b1845e3 100755 --- a/.github/workflows/checks.sh +++ b/.github/workflows/checks.sh
@@ -6,10 +6,6 @@ bazel_cmd=(bazel query :all) echo "${bazel_cmd[@]}" ( cd providers ; "${bazel_cmd[@]}" ) -exit_code="$?" -if [ "${exit_code}" -ne 0 ] ; then - exit "${exit_code}" -fi FILTERS=() if [[ -n "${TEST_FILTER:-}" ]] ; then @@ -22,18 +18,9 @@ echo "${bazel_cmd[@]}" "${bazel_cmd[@]}" -exit_code="$?" -if [ "${exit_code}" -ne 0 ] ; then - exit "${exit_code}" -fi if [ -n "${BUILD_DISTRO:-}" ] ; then bazel build //distro:distro - exit_code="$?" - if [ "${exit_code}" -ne 0 ] ; then - echo "Could not build //distro:distro" - exit "${exit_code}" - fi fi exit "${exit_code}"