migrate to golangci-lint v2

This commit is contained in:
Michael Eischer
2025-12-06 20:16:26 +01:00
parent b3ce796ae7
commit 512d7e88ee
3 changed files with 33 additions and 45 deletions

View File

@@ -86,10 +86,10 @@ jobs:
go-version: ${{ env.latest_go }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v9
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.64.8
version: v2.4.0
args: --verbose --timeout 5m
# only run golangci-lint for pull requests, otherwise ALL hints get