File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
permissions :
14
14
contents : read # for actions/checkout to fetch code
15
15
pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
16
+ checks : write # for golangci/golangci-lint-action to annotate Pull Requests
16
17
name : Lint Go code
17
18
runs-on : ubuntu-latest
18
19
steps :
21
22
- name : Setup Golang
22
23
uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.0
23
24
- name : Run golangci-lint
24
- uses : golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6 .0
25
+ uses : golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0 .0
25
26
with :
26
- version : v1.53
27
+ version : v1.54
27
28
args : --timeout 10m --exclude SA5011 --verbose --issues-exit-code=0
28
29
only-new-issues : true
29
30
You can’t perform that action at this time.
0 commit comments