Fix CI: Use golangci-lint v2 GitHub Action
Some checks failed
CI / Lint (pull_request) Failing after 6s
CI / Test (pull_request) Successful in 54s
CI / Build (pull_request) Successful in 37s
CI / Format Check (pull_request) Successful in 2s

The configuration file is for v2, but CI was installing v1.
Use the official golangci-lint GitHub Action which handles v2 correctly.
This commit is contained in:
2025-11-07 09:11:18 +01:00
parent d79370a8bb
commit 78ef79e48d

View File

@@ -132,9 +132,9 @@ jobs:
fi
- name: Install golangci-lint
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
echo "$HOME/go/bin" >> $GITHUB_PATH
uses: golangci/golangci-lint-action@v6
with:
version: v2
- name: Run linters
run: make lint