2424 runs-on : ${{ matrix.platform }}
2525 steps :
2626 - name : Install Go
27- uses : actions/setup-go@v2
27+ uses : actions/setup-go@v5
2828 with :
2929 go-version : ${{ matrix.go-version }}
3030
@@ -34,26 +34,15 @@ jobs:
3434 git config --global core.eol lf
3535
3636 - name : Checkout code
37- uses : actions/checkout@v2
37+ uses : actions/checkout@v4
3838 with :
3939 fetch-depth : 1
4040
4141 - name : Cache-Go
42- uses : actions/cache@v1
42+ uses : actions/cache@v4
4343 with :
44- # In order:
45- # * Module download cache
46- # * Build cache (Linux)
47- # * Build cache (Mac)
48- # * Build cache (Windows)
49- path : |
50- ~/go/pkg/mod
51- ~/.cache/go-build
52- ~/Library/Caches/go-build
53- '%LocalAppData%\go-build'
54- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
55- restore-keys : |
56- ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
44+ go-version : ${{ matrix.go-version }}
45+ cache : true
5746
5847 - name : Install Linux packages
5948 if : matrix.platform == 'ubuntu-latest'
@@ -93,11 +82,11 @@ jobs:
9382 run : |
9483 go run ./ci/run-tests.go $TAGS -race
9584 - name : static-check
96- uses : dominikh/staticcheck-action@v1.2.0
85+ uses : dominikh/staticcheck-action@v1
9786 with :
9887 install-go : false
9988 cache-key : ${{ matrix.platform }}
100- version : " 2022 .1"
89+ version : " 2025 .1"
10190 - name : Upload-Coverage
10291 if : matrix.platform == 'ubuntu-latest'
103- uses : codecov/codecov-action@v1
92+ uses : codecov/codecov-action@v3
0 commit comments