From 1fe8db9012f8a508f9a7a81ec58a414e21526d48 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 19 Apr 2026 20:02:54 +0100 Subject: [PATCH] ci: bump golangci-lint-action to v8 with pinned v2.9.0 (#12) .golangci.yml declares version: "2" (new schema) but CI was using golangci-lint-action@v6, which ships golangci-lint v1.64.8. That binary is built with go1.24 and cannot load a config targeting go1.25, so every lint run on main failed with: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25) golangci-lint-action@v8 supports golangci-lint v2.x. Pin v2.9.0 to match the locally-used version and keep the binary toolchain aligned with the go1.25 project target. --- .github/workflows/lint.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 9f22a37..57310e9 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -34,7 +34,7 @@ jobs: cache: true - name: Run golangci-lint - uses: golangci/golangci-lint-action@v6 + uses: golangci/golangci-lint-action@v8 with: - version: latest + version: v2.9.0 args: --timeout=5m