Skip to content

Commit

Permalink
Add gofmt in staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
bayashi committed May 2, 2024
1 parent 631c7d4 commit 14d09e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-staticcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
- name: Run vet
run: go vet -v ./...

- name: Check diff of gofmt
run: |
gofmt -s -w . && git diff --exit-code
- name: Check diff of goimports
run: |
go install golang.org/x/tools/cmd/goimports@latest
Expand Down

0 comments on commit 14d09e7

Please sign in to comment.