Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Bourgon 78ce939398
Merge 044254044b into 81382a721f 2024-08-23 15:58:02 -04:00
Peter Bourgon 044254044b
examples: hash go.mod, not go.sum
go.sum isn't a lock file and doesn't represent dependencies
2024-05-10 06:02:48 +02:00
1 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ steps:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-go-
```
@ -203,7 +203,7 @@ steps:
path: |
~/Library/Caches/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-go-
```
@ -216,7 +216,7 @@ steps:
path: |
~\AppData\Local\go-build
~\go\pkg\mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-go-
```