From c414b4dbc8a5c908d3c7ac291dc62d6a7918b5df Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:43:45 +0000 Subject: [PATCH] chore(deps): update tool github.com/golangci/golangci-lint/cmd/golangci-lint to v1.63.2 (#3587) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update tool github.com/golangci/golangci-lint/cmd/golangci-lint to v1.63.2 * Reduce golangci-lint concurrency to 3 We've had some OOM kills on Github Actions runners, hopefully this helps. * 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. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mikołaj Świątek --- .golangci.yaml | 6 +++++- Makefile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index d53ec1deb6..ef24f07199 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,5 +1,5 @@ run: - concurrency: 4 + concurrency: 3 timeout: 5m issues-exit-code: 1 tests: true @@ -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: 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