Skip to content

Commit

Permalink
Bump the golangci-lint-action version (#4506)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebien authored Feb 4, 2025
1 parent c45b0b9 commit 0db1943
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ runs:
echo "GolangCIVersion=$(head -n 1 "${{ github.action_path }}/.golangci.yml" | tr -d '# ')" >> "${GITHUB_OUTPUT}"
id: getenv
- name: golangci-lint
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,
# instead of using a versioning tag that might be overwritten in the future.
# The hash below links to v6.2.0
uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae
with:
version: ${{ steps.getenv.outputs.GolangCIVersion }}
args: "--config=${{ github.action_path }}/.golangci.yml"

0 comments on commit 0db1943

Please # to comment.