Skip to content

Commit

Permalink
Fix specification of the directory we statically check
Browse files Browse the repository at this point in the history
  • Loading branch information
pwiecz committed Jan 3, 2024
1 parent 6383f02 commit 2328ddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20.x'
go-version: '1.21.x'

- name: Install analysis tools
run: |
go install golang.org/x/tools/cmd/goimports@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Vet
run: go vet cmd
run: go vet ./cmd/... ./lib/... ./ui/... .

- name: Goimports
run: test -z "$(goimports -e -d . | tee /dev/stderr)"

- name: Staticcheck
run: staticcheck cmd
run: staticcheck ./cmd/... ./lib/... ./ui/... .

0 comments on commit 2328ddd

Please sign in to comment.