upgrade golangci to v2

* migrate configuration to version 2
* fix new lint warnings
* update lint.yaml to use golangci-lint-action v7
This commit is contained in:
Lawrence, Rendall
2025-04-22 14:18:18 +03:00
parent 750a76b756
commit 1a3f5b1598
7 changed files with 63 additions and 60 deletions

View File

@@ -28,7 +28,7 @@ jobs:
- uses: "actions/setup-go@v5"
with:
go-version-file: go.mod
- uses: "golangci/golangci-lint-action@v6"
- uses: "golangci/golangci-lint-action@v7"
with:
version: "latest"