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 - name: GOFMT Check
if: matrix.go == 1.13 && matrix.os == 'ubuntu-latest' if: matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
run: | run: test -z $(gofmt -l .)
if [ -z $(gofmt -l .) ]; then
exit 0
else
exit 1
fi
- name: Run Tests - name: Run Tests
run: | run: |