Skip to content
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

ci: restore cargo home cache before rust install #27356

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Dec 13, 2024

I think this makes more sense. We'll see if it makes it faster. It was taking 1m 22s to install rust.

"~/.cargo/bin",
"~/.cargo/registry/index",
"~/.cargo/registry/cache",
"~/.cargo/git/db",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added more files/folders here so it also caches the bins https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci

@dsherret dsherret requested a review from bartlomieju December 13, 2024 19:50
@dsherret dsherret merged commit 39f7845 into denoland:main Dec 14, 2024
17 checks passed
@dsherret dsherret deleted the chore_move_restore_cargo_cache_before_rust_install branch December 14, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants