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 committed by Joe Stump
parent 96e011efc0
commit 1a2683fe75
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

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