fix(ci): upgrade golangci-lint-action to v4 for v2 compatibility
v3 action uses --out-format flag which v2.1.6 doesn't support. Upgrade to v4 action which should properly support golangci-lint v2. This should resolve the 'unknown flag: --out-format' error.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -79,7 +79,7 @@ jobs:
|
||||
go-version: '1.24'
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
uses: golangci/golangci-lint-action@v4
|
||||
with:
|
||||
version: v2.1.6
|
||||
args: --timeout=5m
|
||||
|
||||
Reference in New Issue
Block a user