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.24
15- uses : actions/setup-go@v3
23+ uses : actions/setup-go@v6
1624 with :
1725 go-version : " 1.24"
1826 id : go
1927
20- - name : checkout
21- uses : actions/checkout@v3
22-
2328 - name : build and test
2429 run : |
2530 go get -v
@@ -33,16 +38,13 @@ jobs:
3338 run : go test -timeout=60s -race
3439
3540 - name : golangci-lint
36- uses : golangci/golangci-lint-action@v7
41+ uses : golangci/golangci-lint-action@v9
3742 with :
38- version : v2.0.2
39- skip-pkg-cache : true
43+ version : " v2.11.1"
4044
41- - name : install goveralls
45+ - name : submit coverage
4246 run : |
4347 go install github.com/mattn/goveralls@latest
44-
45- - name : submit coverage
46- run : $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
48+ goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
4749 env :
4850 COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments