File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed
Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 44 build :
55 runs-on : ubuntu-latest
66 steps :
7- - uses : actions/checkout@v3
7+ - uses : actions/checkout@v4
88 with :
99 fetch-depth : 2
10- - uses : actions/setup-go@v3
10+ - uses : actions/setup-go@v5
1111 with :
12- go-version : ' 1.19'
12+ go-version : ' 1.24'
13+ cache : true
1314 - name : Run coverage
1415 run : go test -race -coverprofile=coverage.txt -covermode=atomic
1516 - name : Upload coverage to Codecov
16- run : bash <(curl -s https://codecov.io/bash)
17+ uses : codecov/codecov-action@v4
18+ with :
19+ file : ./coverage.txt
20+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 66jobs :
77 golangci :
88 strategy :
9+ fail-fast : false
910 matrix :
10- go-version : [1.19 ]
11+ go-version : [1.23, 1.24 ]
1112 name : lint
1213 runs-on : ubuntu-latest
1314 steps :
14- - uses : actions/checkout@v3
15- - uses : actions/setup-go@v3
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-go@v5
1617 with :
1718 go-version : ${{ matrix.go-version }}
1819 cache : true
1920 - name : Vendoring Go dependencies
2021 run : go mod vendor
2122 - name : golangci-lint
22- uses : golangci/golangci-lint-action@v3
23+ uses : golangci/golangci-lint-action@v4
2324 with :
24- version : v1.50.1
25- skip-pkg-cache : true
26- skip-build-cache : true
25+ version : v1.64.5
2726 args : --timeout=5m
Original file line number Diff line number Diff line change 77 test :
88 strategy :
99 matrix :
10- go-version : [1.18 , 1.19 ]
10+ go-version : [1.23 , 1.24 ]
1111 name : test
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : checkout
15- uses : actions/checkout@v3
16- - uses : actions/setup-go@v3
15+ uses : actions/checkout@v4
16+ - uses : actions/setup-go@v5
1717 with :
1818 go-version : ${{ matrix.go-version }}
1919 - name : Print go version
2222 run : go test -json ./... > test.json
2323 - name : Annotate tests
2424 if : always()
25- uses : guyarb/golang-test-annotations@v0.6 .0
25+ uses : guyarb/golang-test-annotations@v0.8 .0
2626 with :
2727 test-results : test.json
You can’t perform that action at this time.
0 commit comments