File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 99 pull_request :
1010
1111permissions :
12+ # Required: allow read access to the content for analysis.
1213 contents : read
1314 # Optional: allow read access to pull request. Use with `only-new-issues` option.
14- # pull-requests: read
15+ pull-requests : read
16+ # Optional: allow write access to checks to allow the action to annotate code in the PR.
17+ checks : write
1518
1619jobs :
1720 golangci :
@@ -21,10 +24,10 @@ jobs:
2124 matrix :
2225 go : ['1.19', '1.20']
2326 steps :
24- - uses : actions/setup-go@v3
27+ - uses : actions/setup-go@v5
2528 with :
2629 go-version : ${{ matrix.go }}
27- - uses : actions/checkout@v3
30+ - uses : actions/checkout@v4
2831
2932 - name : Format
3033 run : go fmt
3336 run : go vet
3437
3538 - name : lint
36- uses : golangci/golangci-lint-action@v3
39+ uses : golangci/golangci-lint-action@v6
3740 # with:
3841 # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
3942 # version: v1.29
You can’t perform that action at this time.
0 commit comments