Refactor workflow commands

This commit is contained in:
Joachim Schmidt 2020-06-05 18:57:22 +02:00 committed by GitHub
parent 5a8e062118
commit 67bf04f85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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