Skip to content

Commit 908d91b

Browse files
committed
dev: update cache key
1 parent 04f51a5 commit 908d91b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
- uses: actions/cache@v1
4444
with:
4545
path: ~/go/pkg/mod
46-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
46+
key: ${{ runner.os }}-go-${{ matrix.golang }}-${{ hashFiles('**/go.sum') }}
4747
restore-keys: |
48-
${{ runner.os }}-go-
48+
${{ runner.os }}-go-${{ matrix.golang }}-
4949
- name: Run tests on Unix-like operating systems
5050
run: make test
5151
check_generated:

0 commit comments

Comments
 (0)