mirror of
https://github.com/actions/setup-go.git
synced 2025-08-18 14:45:08 +00:00
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.