File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11
11
check-latest : true
12
12
- name : Get golangci-lint version and download rules
13
13
shell : bash
14
- env : # TODO: remove after https://github.com/actions/runner/issues/2473 is fixed
14
+ env :
15
15
GITHUB_ACTION_REF : ${{ github.action_ref }}
16
16
GITHUB_HEAD_REF : ${{ github.head_ref }}
17
17
REPO_FULL_NAME : ${{ github.event.pull_request.head.repo.full_name }}
27
27
echo "GolangCIVersion=$(head -n 1 "${{ github.action_path }}/.golangci.yml" | tr -d '# ')" >> "${GITHUB_OUTPUT}"
28
28
id : getenv
29
29
- 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
34
31
with :
35
32
version : ${{ steps.getenv.outputs.GolangCIVersion }}
36
33
args : " --config=${{ github.action_path }}/.golangci.yml"
You can’t perform that action at this time.
0 commit comments