-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Merge cache-cargo-install-action #66
Comments
Related: The binaries installed via So if you cache If a new version has released, then In the case of upgrade, you can detect that by checking the hash of the |
Regarding There's a PR in |
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: - https://github.com/Swatinem/rust-cache#cache-details - taiki-e/install-action#66
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: - https://github.com/Swatinem/rust-cache#cache-details - taiki-e/install-action#66
As said in #54 (comment), I would like to merge cache-cargo-install-action into install-action.
TODO:
The text was updated successfully, but these errors were encountered: