diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4d734b..42ff46c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,13 +27,5 @@ jobs: FILE=zig-cache/bin/zls - if test -f "$FILE"; then - if zig build test; then - exit 0 - else - exit 1 - fi - else - exit 1 - fi - + test -f "$FILE" || exit 1 + zig build test || exit 1