Skip to content

Commit a0fbc64

Browse files
committed
chore: bump golangci-lint-action in reusable GHA
1 parent d62140b commit a0fbc64

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/actions/lint/action.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
check-latest: true
1212
- name: Get golangci-lint version and download rules
1313
shell: bash
14-
env: #TODO: remove after https://github.com/actions/runner/issues/2473 is fixed
14+
env:
1515
GITHUB_ACTION_REF: ${{ github.action_ref }}
1616
GITHUB_HEAD_REF: ${{ github.head_ref }}
1717
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
@@ -27,10 +27,7 @@ runs:
2727
echo "GolangCIVersion=$(head -n 1 "${{ github.action_path }}/.golangci.yml" | tr -d '# ')" >> "${GITHUB_OUTPUT}"
2828
id: getenv
2929
- name: golangci-lint
30-
# Here, we play safe and use directly the hash of the version,
31-
# instead of using a versioning tag that might be overwritten in the future.
32-
# The hash below links to v6.2.0
33-
uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae
30+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
3431
with:
3532
version: ${{ steps.getenv.outputs.GolangCIVersion }}
3633
args: "--config=${{ github.action_path }}/.golangci.yml"

0 commit comments

Comments
 (0)