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 11name : golangci-lint
22on :
3- push :
4- branches :
5- - main
6- - master
3+ workflow_dispatch :
74 pull_request :
85
6+ permissions : {}
7+
98jobs :
109 golangci :
1110 name : lint
1211 runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
1314 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
1619 with :
1720 go-version : stable
1821 - name : golangci-lint
19- uses : golangci/golangci-lint-action@v6
22+ uses : golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
2023 with :
21- version : v1.61
24+ version : latest
25+ install-mode : binary
2226 args : --timeout=30m
You can’t perform that action at this time.
0 commit comments