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: cache rust dependencies #169

Closed
wants to merge 1 commit into from
Closed

Conversation

eamsden
Copy link
Collaborator

@eamsden eamsden commented Dec 8, 2023

This ensures that the cargo cache is keyed on the nix hash of the development shell, so it will be discarded if we updated the development environment. Only dependencies are cached. Basic trials appear to show an approximately 50% reduction in CI runtime.

Partial implementation of #165

@eamsden eamsden force-pushed the eamsden/cache-rust-deps branch 2 times, most recently from e61e55a to ded575b Compare December 8, 2023 22:22
@eamsden
Copy link
Collaborator Author

eamsden commented Dec 10, 2023

Superseded by #174

@eamsden eamsden closed this Dec 10, 2023
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.

1 participant