Skip to content

Commit

Permalink
Bump golangci-lint for go 1.22 (#2545)
Browse files Browse the repository at this point in the history
The test image was recently changed and now ships with go1.22rc2. We
need to use a version of golangci-lint that is compatible with it.

Co-authored-by: Martin André <m.andre@redhat.com>
  • Loading branch information
k8s-infra-cherrypick-robot and mandre authored Feb 8, 2024
1 parent fa8c306 commit a6d00a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $(BUILD_CMDS): $(SOURCES)
test: unit functional

check: work
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2 run ./...
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.0 run ./...

unit: work
go test -tags=unit $(shell go list ./... | sed -e '/sanity/ { N; d; }' | sed -e '/tests/ {N; d;}') $(TESTARGS)
Expand Down

0 comments on commit a6d00a7

Please sign in to comment.