ci: use golangci-lint-action@v7 for golangci-lint v2

v6 of the action rejects golangci-lint v2 versions ("v2 is not supported by
golangci-lint-action v6"). Bump to v7.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Igor Sirotin 2026-06-09 21:20:58 +03:00
parent 9e477bd976
commit 4e4a00d574
No known key found for this signature in database
GPG Key ID: 0EABBCB40CB9AD4A

View File

@ -52,7 +52,8 @@ jobs:
run: git fetch --no-tags origin master
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
# v7 is required for golangci-lint v2.
uses: golangci/golangci-lint-action@v7
with:
version: v2.4.0