Skip to content

Commit

Permalink
Add goimport checking
Browse files Browse the repository at this point in the history
  • Loading branch information
bayashi committed Jan 13, 2024
1 parent c0995ba commit c839222
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/run-staticcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
- name: Run vet
run: go vet -v ./...

- name: Check diff of goimports
run: |
go install golang.org/x/tools/cmd/goimports@latest
goimports -w . && git diff --exit-code
- name: Setup staticcheck
uses: dominikh/staticcheck-action@v1.3.0
with:
Expand Down

0 comments on commit c839222

Please sign in to comment.