fix(ci): upgrade golangci-lint-action to v4 for v2 compatibility
Some checks failed
CI / Test (pull_request) Successful in 10s
CI / Lint (pull_request) Failing after 4s
CI / Format Check (pull_request) Successful in 2s
CI / Build (pull_request) Successful in 6s

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:
2025-11-05 13:34:43 +01:00
parent 4f3d65a50d
commit 25bfa410e7

View File

@@ -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