File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ jobs:
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- go-version : [1.21, 1.22, 1.23 ]
14+ go-version : ['1.25' ]
1515
1616 steps :
1717 - uses : actions/checkout@v4
1818
1919 - name : Set up Go
20- uses : actions/setup-go@v4
20+ uses : actions/setup-go@v5
2121 with :
2222 go-version : ${{ matrix.go-version }}
2323
2424 - name : Cache Go modules
25- uses : actions/cache@v3
25+ uses : actions/cache@v4
2626 with :
2727 path : |
2828 ~/.cache/go-build
4949 run : go test -v -race -coverprofile=coverage.out ./...
5050
5151 - name : Upload coverage to Codecov
52- uses : codecov/codecov-action@v3
52+ uses : codecov/codecov-action@v5
5353 with :
5454 file : ./coverage.out
5555
Original file line number Diff line number Diff line change @@ -38,19 +38,19 @@ jobs:
3838 - uses : actions/checkout@v4
3939
4040 - name : Set up Go
41- uses : actions/setup-go@v4
41+ uses : actions/setup-go@v5
4242 with :
43- go-version : ' 1.23 '
43+ go-version : ' 1.25 '
4444
4545 - name : Cache Go modules
46- uses : actions/cache@v3
46+ uses : actions/cache@v4
4747 with :
4848 path : |
4949 ~/.cache/go-build
5050 ~/go/pkg/mod
51- key : ${{ runner.os }}-go-1.23 -${{ hashFiles('**/go.sum') }}
51+ key : ${{ runner.os }}-go-1.25 -${{ hashFiles('**/go.sum') }}
5252 restore-keys : |
53- ${{ runner.os }}-go-1.23 -
53+ ${{ runner.os }}-go-1.25 -
5454
5555 - name : Download dependencies
5656 run : go mod download
You can’t perform that action at this time.
0 commit comments