-
Notifications
You must be signed in to change notification settings - Fork 649
CI: Replace custom caching with rust-cache
action
#3980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
looks like the cache sizes and CI times are comparable, but with less custom and verbose code :) |
The idea itself sounds good to me but I remember we have a security concern about the third-party actions... |
FWIW we're also already using it in https://github.com/rust-lang/rust/blob/a985d8e6c7f0519fa1e147854430a381ac4eadf8/src/tools/clippy/.github/workflows/deploy.yml#L55 and https://github.com/rust-lang/docs.rs/blob/dd650cb382385c87197b344e5a326b72dc4b55fc/.github/workflows/ci.yml#L24 and since it's not some shady unknown maintainer I'm personally not too worried about it :) |
Oh, then it may be fine to use. Another concern is that we record the cache size (though it's a bit outdated), is it possible on Swatinem/rust-cache as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, makes sense to me now, thanks for clarifying!
@bors r+ |
📌 Commit f7c5c28 has been approved by |
☀️ Test successful - checks-actions |
see https://github.com/Swatinem/rust-cache