File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : golangci-lint
2
2
on :
3
- push :
4
- branches :
5
- - main
6
- - master
3
+ workflow_dispatch :
7
4
pull_request :
8
5
6
+ permissions : {}
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/setup-go@v5
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
+ with :
17
+ fetch-depth : 0
18
+ - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
16
19
with :
17
20
go-version : stable
18
21
- name : golangci-lint
19
- uses : golangci/golangci-lint-action@v6
22
+ uses : golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
20
23
with :
21
- version : v1.61
24
+ version : latest
25
+ install-mode : binary
22
26
args : --timeout=30m
You can’t perform that action at this time.
0 commit comments