Skip to content

Commit 0db1943

Browse files
authored
Bump the golangci-lint-action version (#4506)
1 parent c45b0b9 commit 0db1943

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/actions/lint/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ runs:
2525
echo "GolangCIVersion=$(head -n 1 "${{ github.action_path }}/.golangci.yml" | tr -d '# ')" >> "${GITHUB_OUTPUT}"
2626
id: getenv
2727
- name: golangci-lint
28-
uses: golangci/golangci-lint-action@349d20632dbaed38f0a492cc991152e3d351e854 # latest commit at the time that uses node20
28+
# 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
2932
with:
3033
version: ${{ steps.getenv.outputs.GolangCIVersion }}
3134
args: "--config=${{ github.action_path }}/.golangci.yml"

0 commit comments

Comments
 (0)