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

master
Kevin Wan 3 years ago committed by GitHub
parent bc3c9484d1
commit 095b603788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,7 @@ jobs:
run: | run: |
go vet -stdmethods=false $(go list ./...) go vet -stdmethods=false $(go list ./...)
go install mvdan.cc/gofumpt@latest 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 - name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...

1
.gitignore vendored

@ -17,6 +17,7 @@
# for test purpose # for test purpose
**/adhoc **/adhoc
go.work
# gitlab ci # gitlab ci
.cache .cache

Loading…
Cancel
Save