From 0a47a9eca708dafad81a83d12febbef5e794154d Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Fri, 3 Jul 2026 22:13:20 +0200 Subject: [PATCH] CI: Use goinstall mode for golangci-lint action The prebuilt golangci-lint binary was built with Go 1.25, which is incompatible with our Go 1.26 toolchain. Switch to install-mode: goinstall so golangci-lint is compiled from source using the project's Go version, avoiding the mismatch. Cherry-pick of fix from main to release-v0.44.x. Signed-off-by: Vincent Demeester --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ec7b77ab..6485e1df8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -47,7 +47,8 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: - version: v2.7.2 + version: v2.12.2 + install-mode: goinstall args: --new-from-merge-base=origin/${{ github.base_ref }} --timeout=10m - name: yamllint run: |