File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -42,25 +42,11 @@ jobs:
4242 runs-on : ${{ matrix.platform }}
4343
4444 steps :
45+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4546 - uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
4647 with :
4748 go-version : ${{ matrix.go-version }}
48- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
49-
50- # Get values for cache paths to be used in later steps
51- - id : cache-paths
52- run : |
53- echo "go-cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
54- echo "go-mod-cache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
55-
56- - name : Cache go modules
57- uses : actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
58- with :
59- path : |
60- ${{ steps.cache-paths.outputs.go-cache }}
61- ${{ steps.cache-paths.outputs.go-mod-cache }}
62- key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
63- restore-keys : ${{ runner.os }}-go-
49+ cache-dependency-path : " **/go.sum"
6450
6551 - name : Run go test
6652 run : |
You can’t perform that action at this time.
0 commit comments