Corrected documentation of how to cache binaries installed with cargo install in CI workflows#11592
Corrected documentation of how to cache binaries installed with cargo install in CI workflows#11592bors merged 1 commit intorust-lang:masterfrom
cargo install in CI workflows#11592Conversation
|
r? @weihanglo (rustbot has picked a reviewer for you, use r? to override) |
weihanglo
left a comment
There was a problem hiding this comment.
Thanks! This looks good to me.
By the way, we prefer a descriptive PR title instead of “fixing issue number X”, for the sake of being friendly when searching old PRs, and also saving one click. It would be better if you could simply update the title.
cargo install in CI workflows
Like this? |
|
We don't really strictly follow any rule. A proper title is just right. Thank you! @bors r+ |
|
☀️ Test successful - checks-actions |
3 commits in a5d47a72595dd6fbe7d4e4f6ec20dc5fe724edd1..50eb688c2bbea5de5a2e8496230a7428798089d1 2023-01-16 18:51:50 +0000 to 2023-01-19 10:09:05 +0000 - Normalize git deps when doing `cargo vendor` for resolving deps inherited from a workspace (rust-lang/cargo#11414) - Ignore `workspace.default-members` when running `cargo install` on root package of a non-virtual workspace (rust-lang/cargo#11067) - Corrected documentation of how to cache binaries installed with `cargo install` in CI workflows (rust-lang/cargo#11592)
Update cargo 3 commits in a5d47a72595dd6fbe7d4e4f6ec20dc5fe724edd1..50eb688c2bbea5de5a2e8496230a7428798089d1 2023-01-16 18:51:50 +0000 to 2023-01-19 10:09:05 +0000 - Normalize git deps when doing `cargo vendor` for resolving deps inherited from a workspace (rust-lang/cargo#11414) - Ignore `workspace.default-members` when running `cargo install` on root package of a non-virtual workspace (rust-lang/cargo#11067) - Corrected documentation of how to cache binaries installed with `cargo install` in CI workflows (rust-lang/cargo#11592) r? `@ghost`
Fix for #11513. Updated the cargo book documentation on how to cache the
$CARGO_HOMEdirectory in CI workflows (added that the.crates.tomland.crates2.jsonfiles must be cached alongside the/binfolder, if installed binaries are cached)