From 4abc2c63ba6da27008128f257e16ae6de2e1c957 Mon Sep 17 00:00:00 2001 From: "scality-renovate[bot]" <234218835+scality-renovate[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 04:17:43 +0000 Subject: [PATCH] chore(deps): update dependency golangci/golangci-lint to v2.12.2 --- .devcontainer/Dockerfile | 2 +- .github/workflows/pre-merge.yaml | 2 +- Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index eb72953..1d1b5ee 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -10,7 +10,7 @@ RUN curl -sSfLO https://github.com/operator-framework/operator-sdk/releases/down sudo mv operator-sdk_linux_amd64 /usr/local/bin/operator-sdk # renovate: datasource=github-releases depName=golangci/golangci-lint extractVersion=^v(?.*)$ -ARG GOLANGCI_VERSION=2.5.0 +ARG GOLANGCI_VERSION=2.12.2 RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sudo sh -s -- v${GOLANGCI_VERSION} diff --git a/.github/workflows/pre-merge.yaml b/.github/workflows/pre-merge.yaml index 713cfed..e7cd990 100644 --- a/.github/workflows/pre-merge.yaml +++ b/.github/workflows/pre-merge.yaml @@ -44,7 +44,7 @@ jobs: - name: Run linters uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: - version: v2.5.0 + version: v2.12.2 test: uses: ./.github/workflows/test.yml diff --git a/Makefile b/Makefile index ad8d764..31d6837 100644 --- a/Makefile +++ b/Makefile @@ -257,7 +257,7 @@ ENVTEST_VERSION ?= $(shell go list -m -f "{{ .Version }}" sigs.k8s.io/controller #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.5.0 +GOLANGCI_LINT_VERSION ?= v2.12.2 .PHONY: kustomize kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.