Skip to content

Commit

Permalink
ci: use latest version of staticcheck instead of v0.1.2
Browse files Browse the repository at this point in the history
A new version that fixes a false positive is out (v0.1.3). In order to
not have to bump the version manually, simply use latest.

Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
  • Loading branch information
rolinh committed Apr 8, 2021
1 parent 7cdfd48 commit ef8792c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install and run staticcheck
if: matrix.go-version >= '1.16'
run: |
go install honnef.co/go/tools/cmd/staticcheck@v0.1.2
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck -version
staticcheck -- ./...
- name: Run unit tests
Expand Down

0 comments on commit ef8792c

Please sign in to comment.