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

Fix tarpaulin caching on CI #127

Merged
merged 1 commit into from
Jan 22, 2023
Merged

Fix tarpaulin caching on CI #127

merged 1 commit into from
Jan 22, 2023

Conversation

djeedai
Copy link
Owner

@djeedai djeedai commented Jan 22, 2023

Properly cache .crates.toml and .crates2.json as recommended by the cargo team here: rust-lang/cargo#11513. This ensures installed cargo binaries are cached, and restored correctly.

Remove the --force flag from the tarpaulin install, to use the cached version if available and speed up the coverage build.

Properly cache `.crates.toml` and `.crates2.json` as recommended by the
cargo team here: rust-lang/cargo#11513. This
ensures installed cargo binaries are cached, and restored correctly.

Remove the `--force` flag from the tarpaulin install, to use the cached
version if available and speed up the coverage build.
@djeedai djeedai merged commit 70d8c24 into main Jan 22, 2023
@djeedai djeedai deleted the u/ci-cache-tarpaulin branch January 22, 2023 21:18
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.

None yet

1 participant