mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 21:23:43 +00:00
Use restoreKeys with cache
To match the recommendation documented here: https://github.com/actions/cache/blob/main/examples.md#go---modules Without `restoreKeys` any change to `go.sum` results in a complete cache miss. By using `restoreKeys` a change in one dependency should still allow a cache to be restored, so that all the other dependencies are retreived from the cache.
This commit is contained in:
parent
b22fbbc292
commit
264cb756bc
3 changed files with 836 additions and 830 deletions
1261
dist/setup/index.js
vendored
1261
dist/setup/index.js
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue