ci: accurate error reporting on lint check (#1089)

This commit is contained in:
Kevin Wan
2021-09-25 23:25:40 +08:00
committed by GitHub
parent d7f42161fd
commit d3ae9cfd49

View File

@@ -29,7 +29,7 @@ jobs:
run: |
go vet -stdmethods=false $(go list ./...)
go install mvdan.cc/gofumpt@latest
test -z "$(gofumpt -s -l -extra .)"
test -z "$(gofumpt -s -l -extra .)" || echo "Please run 'gofumpt -l -w -extra .'"
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...