From 55bffb65591835e02f2a4112715eff04e1fc0a08 Mon Sep 17 00:00:00 2001 From: steigr Date: Sun, 28 Sep 2025 12:14:10 +0200 Subject: [PATCH 1/3] Fix:Golang 1.25: Update controller-tools to v0.16.4 controller-tools v0.16.4 is the oldest version which compiles with golang 1.25. ``` # golang.org/x/tools/internal/tokeninternal ../../../../go/pkg/mod/golang.org/x/tools@v0.24.0/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64) ``` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d4570a9..aae821f3 100644 --- a/Makefile +++ b/Makefile @@ -549,7 +549,7 @@ ENVTEST ?= $(LOCALBIN)/setup-envtest ## Tool Versions KUSTOMIZE_VERSION ?= v5.3.0 -CONTROLLER_TOOLS_VERSION ?= v0.14.0 +CONTROLLER_TOOLS_VERSION ?= v0.16.4 KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" .PHONY: kustomize From ced8ba7c6ca052a0ba8d16d82f8e0d8124a276d8 Mon Sep 17 00:00:00 2001 From: steigr Date: Sun, 28 Sep 2025 18:59:28 +0200 Subject: [PATCH 2/3] Update golangci-lint to v1.62.0 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aae821f3..316fa895 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ HAS_GOLINT := $(shell which $(PROJECT_DIR)/bin/golangci-lint) lint: ## Verifies `golint` passes @echo "+ $@" ifndef HAS_GOLINT - GOBIN=$(PROJECT_DIR)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.0 + GOBIN=$(PROJECT_DIR)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0 endif @bin/golangci-lint run From 86b2b954a940c1be94be144e15aca8c6b45cd5b2 Mon Sep 17 00:00:00 2001 From: steigr Date: Sun, 28 Sep 2025 19:00:08 +0200 Subject: [PATCH 3/3] Update staticcheck to 2025.1.1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 316fa895..7f4c1fc9 100644 --- a/Makefile +++ b/Makefile @@ -162,7 +162,7 @@ staticcheck: ## Verifies `staticcheck` passes @echo "+ $@" ifndef HAS_STATICCHECK $(eval TMP_DIR := $(shell mktemp -d)) - wget -O $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2023.1.7/staticcheck_$(PLATFORM)_amd64.tar.gz + wget -O $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz https://github.com/dominikh/go-tools/releases/download/2025.1.1/staticcheck_$(PLATFORM)_amd64.tar.gz tar zxvf $(TMP_DIR)/staticcheck_$(PLATFORM)_amd64.tar.gz -C $(TMP_DIR) mkdir -p $(PROJECT_DIR)/bin mv $(TMP_DIR)/staticcheck/staticcheck $(PROJECT_DIR)/bin