Skip to content

Commit

Permalink
chore(deps): update tool github.com/golangci/golangci-lint/cmd/golang…
Browse files Browse the repository at this point in the history
…ci-lint to v1.63.2 (#3587)

* 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 <mail@mikolajswiatek.com>
  • Loading branch information
renovate[bot] and swiatekm authored Jan 2, 2025
1 parent 5a270c9 commit c414b4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
concurrency: 4
concurrency: 3
timeout: 5m
issues-exit-code: 1
tests: true
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c414b4d

Please sign in to comment.