Skip to content

Commit 0cad8e5

Browse files
committed
chore(tools): build golangci-lint with Go 1.24
- hack/tools/go.mod: set go 1.24.0 to match repo target - hack/tools/Makefile: bump golangci-lint to v1.60.3 to ensure it's built with Go ≥ 1.24 and fix CI error: “the Go language version (go1.23) used to build golangci-lint is lower than the targeted Go version (1.24.0)”
1 parent 7d2523f commit 0cad8e5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

hack/tools/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ ifeq ($(OS), windows)
4545
MDBOOK_EXTRACT_COMMAND := unzip -d /tmp
4646
endif
4747

48-
GOLANGCI_LINT_VERSION := v1.55.2
48+
# Use a golangci-lint built with Go >= 1.24 to match repo go.mod
49+
GOLANGCI_LINT_VERSION := v1.60.3
4950
## --------------------------------------
5051
## Tooling Binaries
5152
## --------------------------------------

hack/tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/cluster-api-provider-aws/hack/tools
22

3-
go 1.23.8
3+
go 1.24.0
44

55
require (
66
github.com/a8m/envsubst v1.4.2

0 commit comments

Comments
 (0)