File tree Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Expand file tree Collapse file tree 2 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,26 @@ name: golangci-lint
22on :
33 push :
44 branches :
5- - master
5+ - master
66 pull_request :
7+
78permissions :
89 contents : read
10+ pull-requests : read
11+
912jobs :
1013 golangci :
1114 name : lint
1215 runs-on : ubuntu-latest
1316 steps :
14- - uses : actions/setup-go@v3
17+ - uses : actions/setup-go@v5
1518 with :
19+ cache : false
1620 go-version : ' 1.20'
17- - uses : actions/checkout@v3
21+ - uses : actions/checkout@v4
1822 - name : golangci-lint
19- uses : golangci/golangci-lint-action@v3
23+ uses : golangci/golangci-lint-action@v6
2024 with :
21- version : latest
25+ version : ' latest'
26+ args : ' --timeout=60m'
27+ only-new-issues : true
Original file line number Diff line number Diff line change @@ -2,14 +2,17 @@ name: test
22on :
33 push :
44 branches :
5- - master
5+ - master
66 pull_request :
77jobs :
88 test :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/setup-go@v3
11+ - uses : actions/setup-go@v5
1212 with :
13+ cache : false
1314 go-version : ' 1.20'
14- - uses : actions/checkout@v3
15- - uses : n8maninger/action-golang-test@v1
15+ - uses : actions/checkout@v4
16+ - uses : n8maninger/action-golang-test@v2
17+ with :
18+ args : " -race;-timeout=30m"
You can’t perform that action at this time.
0 commit comments