chore: update golangci-lint to v2 (#10331)

Updates the configuration of golangci-lint to version 2 and updates the
linter in the pipeline.
This commit is contained in:
Silvan
2025-07-29 09:42:02 +02:00
committed by GitHub
parent b5f97d64b0
commit 168f966114
4 changed files with 111 additions and 272 deletions

View File

@@ -81,7 +81,7 @@ jobs:
with:
node_version: "18"
buf_version: "latest"
go_lint_version: "v1.64.8"
go_lint_version: "latest"
core_cache_key: ${{ needs.core.outputs.cache_key }}
core_cache_path: ${{ needs.core.outputs.cache_path }}

View File

@@ -77,7 +77,7 @@ jobs:
path: ${{ inputs.core_cache_path }}
key: ${{ inputs.core_cache_key }}
fail-on-cache-miss: true
- uses: golangci/golangci-lint-action@v6
- uses: golangci/golangci-lint-action@v8
with:
version: ${{ inputs.go_lint_version }}
github-token: ${{ github.token }}