We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c45b0b9 commit 0db1943Copy full SHA for 0db1943
.github/actions/lint/action.yml
@@ -25,7 +25,10 @@ runs:
25
echo "GolangCIVersion=$(head -n 1 "${{ github.action_path }}/.golangci.yml" | tr -d '# ')" >> "${GITHUB_OUTPUT}"
26
id: getenv
27
- name: golangci-lint
28
- uses: golangci/golangci-lint-action@349d20632dbaed38f0a492cc991152e3d351e854 # latest commit at the time that uses node20
+ # Here, we play safe and use directly the hash of the version,
29
+ # instead of using a versioning tag that might be overwritten in the future.
30
+ # The hash below links to v6.2.0
31
+ uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae
32
with:
33
version: ${{ steps.getenv.outputs.GolangCIVersion }}
34
args: "--config=${{ github.action_path }}/.golangci.yml"
0 commit comments