Skip to content

Commit

Permalink
gofmt workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nabhajit-ray committed Apr 1, 2021
1 parent a11d8c8 commit 4d5688e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Format
run: if ![ -z "$(find . -type f -name "*.go" -not -path "./vendor/*" | sed "s|^\./||" | xargs gofmt -l)" ]; then exit 1; fi
run: if [ ! -z "$(find . -type f -name "*.go" -not -path "./vendor/*" | sed "s|^\./||" | xargs gofmt -l)" ]; then exit 1; fi
if: matrix.platform == 'ubuntu-latest'
- name: Vet
run: go vet $(go list ./... | grep -v '/vendor/')

0 comments on commit 4d5688e

Please sign in to comment.