chore: remove gofumpt -s flag, default to be enabled (#1816)

This commit is contained in:
Kevin Wan
2022-04-22 14:37:17 +08:00
committed by GitHub
parent bc3c9484d1
commit 095b603788
2 changed files with 2 additions and 1 deletions

View File

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