Pin golangci-lint-action version as a workaround to fix the pipeline.

See https://github.com/golangci/golangci-lint/issues/4695
This commit is contained in:
Deluan 2024-05-06 21:47:55 +02:00
parent 544ae90ec1
commit 2470471b2b
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
# TODO: revert to latest when this issue is resolved: https://github.com/golangci/golangci-lint/issues/4695
version: v1.57.2
github-token: ${{ secrets.GITHUB_TOKEN }}
args: --timeout 2m