Skip to content

Commit

Permalink
chore: remove gofumpt -s flag, default to be enabled (zeromicro#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan authored Apr 22, 2022
1 parent bc3c948 commit 095b603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

# for test purpose
**/adhoc
go.work

# gitlab ci
.cache
Expand Down

0 comments on commit 095b603

Please sign in to comment.