distinct cache names for jobs

This commit is contained in:
Christian Mouchet
2022-05-17 14:28:14 +02:00
committed by Jean-Philippe Bossuat
parent ca10dc6b7d
commit 82b5dec472

View File

@@ -47,9 +47,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go-build-
- name: Build
run: go build ./...