-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix cargo registry caching for builds #3613
Conversation
Windows still has the caching issue. There is some work being done over at https://github.com/openethereum/openethereum/pull/11568 to fix this, but it doesn't work yet. |
Hm, do we really need this? Looking at https://github.com/rust-analyzer/rust-analyzer/runs/510919657?check_suite_focus=true#step:8:1, it seems like caching works as expected? |
Yeah... That probably means that we don't need to cache the registry at all? We cache compiled libraries anyway. |
Maybe |
It is useful when updating rustc, as in that case all crates need to be recompiled. |
I think if we are recompiling the world, saving on network doesn't really make sense. I'd just remove this from caching then! |
bors r+ Thanks! Let's see how it works out... |
I think I should have kept the |
yeah, r+ doesn't mean anything anyway, this has to be merged manually... |
Forgot that gh apps can't merge workflow changes. |
Seems that the cargo registry cache is actually necessary: https://github.com/rust-analyzer/rust-analyzer/pull/3613/checks?check_run_id=511843473#step:7:12 |
#3612 (comment)