From e410581026099db52759c8c83cf682c32ef58e68 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:28:39 +0000 Subject: [PATCH 1/3] chore(deps): update tool github.com/golangci/golangci-lint/cmd/golangci-lint to v1.63.2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f3f4d4e15..4f62520411 100644 --- a/Makefile +++ b/Makefile @@ -496,7 +496,7 @@ KUSTOMIZE_VERSION ?= v5.5.0 # renovate: datasource=go depName=sigs.k8s.io/controller-tools/cmd/controller-gen CONTROLLER_TOOLS_VERSION ?= v0.17.0 # renovate: datasource=go depName=github.com/golangci/golangci-lint/cmd/golangci-lint -GOLANGCI_LINT_VERSION ?= v1.62.2 +GOLANGCI_LINT_VERSION ?= v1.63.2 # renovate: datasource=go depName=sigs.k8s.io/kind KIND_VERSION ?= v0.26.0 # renovate: datasource=go depName=github.com/kyverno/chainsaw From eb375439b217aae323711a668c16a7a149d51428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20=C5=9Awi=C4=85tek?= Date: Thu, 2 Jan 2025 16:19:02 +0100 Subject: [PATCH 2/3] Reduce golangci-lint concurrency to 3 We've had some OOM kills on Github Actions runners, hopefully this helps. --- .golangci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yaml b/.golangci.yaml index d53ec1deb6..eb7ee0b874 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,5 +1,5 @@ run: - concurrency: 4 + concurrency: 3 timeout: 5m issues-exit-code: 1 tests: true From ef140d71334bff43de7082c0c977d38bde2ba9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20=C5=9Awi=C4=85tek?= Date: Thu, 2 Jan 2025 16:22:58 +0100 Subject: [PATCH 3/3] Don't run goheader on upgrade_strategy.go goheader in golanci-lint v1.63.2 incorrectly flags these files as having invalid headers. Root cause not yet known. --- .golangci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.yaml b/.golangci.yaml index eb7ee0b874..ef24f07199 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -57,6 +57,10 @@ issues: - linters: - gci source: "// \\+kubebuilder" + # For some reason goheader complains about these files, even though the headers are correct + - linters: + - goheader + path: upgrade_strategy\.go linters: enable: