ci: update rust cache action v1 -> v2 #2460
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We've gone over the 10GB per-repo limit for workflow caches on GH. GH will automatically evict caches not used for a week or longer, but we've had a bunch of active PRs with plenty of rebases, and went over, ~22GB/10GB. Manually cleaned up old caches in the GitHub UI [1] to unbreak workflow runs. This change brings us up to speed with the latest release for the associated GH action helper, which has some updated caching settings in the changelog. May need to follow up with refinements to ensure that we don't hit the cache limit again.
N.B. GH does not allow us to purchase a cache increase per repo, which is unfortunate.
[0] https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy
[1] https://github.com/penumbra-zone/penumbra/actions/caches