This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
Make sure that cargo-nextest is cached as well #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The order matters here since rust-cache cleans out any files in
~/.cargo/bin
that were present before the action ran, which means we'll want to install nextest after running the cache job. The install-action job will check for newer versions appropriately.The one thing I'm not sure about is if rust-cache will key based off of the contents of the
~/.cargo/bin
directory, or if it's just saving that into the cache. If it does key off of the contents, we may need to always install nextest even if it's not going to be used (for check/ format/lint jobs) so we can maintain cache efficiency.See: