File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 tags :
77 pull_request :
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 build :
1114 runs-on : ubuntu-latest
1215
1316 steps :
17+ - name : checkout
18+ uses : actions/checkout@v6
19+ with :
20+ persist-credentials : false
21+
1422 - name : set up go 1.23
15- uses : actions/setup-go@v2
23+ uses : actions/setup-go@v6
1624 with :
1725 go-version : " 1.23"
1826 id : go
1927
20- - name : checkout
21- uses : actions/checkout@v3
22-
2328 - name : build and test
2429 run : |
2530 go get -v
@@ -31,11 +36,11 @@ jobs:
3136 TZ : " America/Chicago"
3237
3338 - name : golangci-lint
34- uses : golangci/golangci-lint-action@v3
39+ uses : golangci/golangci-lint-action@v9
3540 with :
3641 version : latest
3742
38- - name : install goveralls, submit coverage
43+ - name : submit coverage
3944 run : |
4045 go install github.com/mattn/goveralls@latest
4146 goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
Original file line number Diff line number Diff line change 1+ version : " 2"
2+
3+ linters :
4+ exclusions :
5+ rules :
6+ - linters :
7+ - staticcheck
8+ text : " QF"
You can’t perform that action at this time.
0 commit comments