File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : golangci-lint
2
2
on :
3
+ workflow_dispatch :
3
4
pull_request :
4
5
5
- permissions :
6
- contents : read
7
- pull-requests : read
6
+ permissions : {}
8
7
9
8
jobs :
10
9
golangci :
11
10
name : lint
12
11
runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : read
13
14
steps :
14
- - uses : actions/checkout@v4
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
16
with :
16
17
fetch-depth : 0
17
- - uses : actions/setup-go@v5
18
+ - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
18
19
with :
19
- go-version : ' 1.23 '
20
+ go-version : stable
20
21
- name : golangci-lint
21
- uses : golangci/golangci-lint-action@v6
22
+ uses : golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
22
23
with :
23
- version : v1.60
24
- args : --timeout=30m --new-from-rev=${{ github.event.pull_request.base.sha }}
25
- github-token : ${{ secrets.GITHUB_TOKEN }}
24
+ version : latest
25
+ install-mode : binary
26
+ args : --timeout=30m
You can’t perform that action at this time.
0 commit comments