Skip to content

Commit

Permalink
Add staticcheck into the fix
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Dwyer <[email protected]>
  • Loading branch information
bdwyertech committed Jun 18, 2020
1 parent 345e76d commit 783f588
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
env:
GOFLAGS: '-mod=vendor'
run: |
go fmt $(go list ./... | grep -v /vendor/)
GO111MODULE=off go get honnef.co/go/tools/cmd/staticcheck
go fmt $(go list ./... | grep -v /vendor/) | xargs -I {} -r /bin/sh -c "/bin/echo {} && exit 1"
go vet $(go list ./... | grep -v /vendor/)
staticcheck $(go list ./... | grep -v /vendor/)
go test -v -race $(go list ./... | grep -v /vendor/)
- name: Run GoReleaser
Expand Down

0 comments on commit 783f588

Please sign in to comment.