Skip to content

Commit bd2ec8f

Browse files
authored
.github: bump cache version (#12)
Update the cache action's version.
1 parent dd7660e commit bd2ec8f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/go.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,14 @@ jobs:
5151
with:
5252
go-version: ${{ matrix.go }}
5353

54-
- uses: actions/cache@v1
54+
- uses: actions/cache@v4
5555
with:
56-
path: ~/go/pkg/mod
56+
path: |
57+
~/.cache/go-build
58+
~/go/pkg/mod
5759
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
60+
restore-keys: |
61+
${{ runner.os }}-go-
5862
5963
- name: Run unit tests.
6064
env:

0 commit comments

Comments
 (0)