Commit Graph

2 Commits (264cb756bcc6b96c56ea99ba0c5a4b150c83da70)

Author SHA1 Message Date
Daniel Nephin 264cb756bc 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.
3 years ago
IvanZosimov b22fbbc292
Implementation of caching functionality for setup-go action (#228) 3 years ago