From a1ef8e49f38f17beb0b96ef4c4acde5cd117e040 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 8 Feb 2026 07:35:58 +0000 Subject: [PATCH] fix: upgrade golangci-lint to v2.8.0 for action v9.2.0 compatibility The golangci-lint-action v9.2.0 dropped support for golangci-lint v1.x and requires v2.x versions. The error "golangci-lint v1 is not supported by golangci-lint-action >= v7" indicates we need to upgrade, not downgrade. Updated both ci-pipeline.yml and quality-checks.yml from v1.64.5 to v2.8.0 to align with the current golangci-lint major version. Fixes: #666 (golangci-lint version compatibility error) --- .github/workflows/ci-pipeline.yml | 2 +- .github/workflows/quality-checks.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index a8f0b2c9..16883018 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -75,7 +75,7 @@ jobs: - name: Run golangci-lint (fast) uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: - version: v1.64.5 + version: v2.8.0 working-directory: backend args: --config=.golangci-fast.yml --timeout=2m diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index 68fd31e6..5fdadb69 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -75,7 +75,7 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: - version: v1.64.5 + version: v2.8.0 working-directory: backend args: --config=.golangci-fast.yml --timeout=2m