simplify GOFMT Check

This commit is contained in:
Ajitem Sahasrabuddhe 2020-01-26 17:42:27 +05:30 committed by GitHub
parent 7841e146ee
commit c5720ee3af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,12 +40,7 @@ jobs:
- name: GOFMT Check
if: matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
run: |
if [ -z $(gofmt -l .) ]; then
exit 0
else
exit 1
fi
run: test -z $(gofmt -l .)
- name: Run Tests
run: |