From 4ce7db1224c55617e30334f6979afa7401afe3a3 Mon Sep 17 00:00:00 2001 From: Evan Vetere Date: Wed, 25 Nov 2026 14:21:58 -0500 Subject: [PATCH] chore: Expose golangci-lint pin to Renovate Renovate could not see the golangci-lint version the Makefile pins, so the local linter drifted from the rest of the fleet unless someone bumped it by hand. Key changes: - Annotate GOLANGCI_LINT_VERSION for the shared Renovate regex manager - Delete .go-version: nothing reads it, it already lagged the go.mod toolchain (1.27.3 vs 1.27.4), and workflows take Go from go.mod --- .go-version | 1 - Makefile | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 .go-version diff --git a/.go-version b/.go-version deleted file mode 100644 index 3bae520..0000000 --- a/.go-version +++ /dev/null @@ -1 +0,0 @@ -1.27.3 diff --git a/Makefile b/Makefile index 1d4edbe..027d8c1 100644 --- a/Makefile +++ b/Makefile @@ -239,6 +239,7 @@ CONTROLLER_TOOLS_VERSION ?= v0.19.0 ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller-runtime | awk -F'[v.]' '{printf "release-%d.%d", $$2, $$3}') #ENVTEST_K8S_VERSION is the version of Kubernetes to use for setting up ENVTEST binaries (i.e. 1.31) ENVTEST_K8S_VERSION ?= $(shell go list -m -f "{{ .Version }}" k8s.io/api | awk -F'[v.]' '{printf "1.%d", $$3}') +# renovate: datasource=github-releases depName=golangci/golangci-lint GOLANGCI_LINT_VERSION ?= v2.15.0 .PHONY: kustomize