Skip to content

Commit

Permalink
update staticcheck version (backport #4840) (#4842)
Browse files Browse the repository at this point in the history
Upgrate staticcheck version to latest release.
The current version breaks with go 1.22, so cannot be used locally when go 1.22 is installed.
see https://staticcheck.io/changes/2023.1/#2023.1.7

Signed-off-by: David Enyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart committed May 6, 2024
1 parent ba28342 commit 48546ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gotools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ go.fqp.govulncheck := golang.org/x/vuln/cmd/govulncheck@latest
go.fqp.misspell := github.com/client9/misspell/cmd/misspell
go.fqp.mockery := github.com/vektra/mockery/cmd/mockery
go.fqp.protoc-gen-go := github.com/golang/protobuf/protoc-gen-go
go.fqp.staticcheck := honnef.co/go/tools/cmd/staticcheck@2023.1.2 # 2022.1.1 fixes the staticcheck issue with Go 1.18 "export data is newer version - update tool"
go.fqp.staticcheck := honnef.co/go/tools/cmd/staticcheck@2023.1.7
go.fqp.swagger := github.com/go-swagger/go-swagger/cmd/swagger

.PHONY: gotools-install
Expand Down

0 comments on commit 48546ce

Please sign in to comment.