fix(ci): pin golangci-lint to v2.1.6 to match local and support v2 config
'latest' resolves to v1.64.8 which doesn't support version: 2 config. Pin to v2.1.6 to match local development environment and ensure v2 config compatibility.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -81,7 +81,7 @@ jobs:
|
|||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: v2.1.6
|
||||||
args: --timeout=5m
|
args: --timeout=5m
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user