Skip to content

Commit a1ef8e4

Browse files
committed
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)
1 parent 57417d5 commit a1ef8e4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Run golangci-lint (fast)
7676
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
7777
with:
78-
version: v1.64.5
78+
version: v2.8.0
7979
working-directory: backend
8080
args: --config=.golangci-fast.yml --timeout=2m
8181

.github/workflows/quality-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Run golangci-lint
7676
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
7777
with:
78-
version: v1.64.5
78+
version: v2.8.0
7979
working-directory: backend
8080
args: --config=.golangci-fast.yml --timeout=2m
8181

0 commit comments

Comments
 (0)