Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Run
setup-rust-toolchain
from fork with cache key support
We run the build for amd64 and arm64, and we use `setup-rust-toolchain` to install and cache the Rust toolchain and project dependencies. The caching part of that action doesn't currently work if it's run in multiple jobs from the same workflow run. The cache key doesn't contain anything that would disambiguate and there is no input to `setup-rust-toolchain` to allow it to be customised. To fix that, I've just [submitted a PR][PR] to the action to allow the cache key to be customised. This will allow us to set a key that includes the OS and architecture of the build, so that the caches are kept separate. We're making use of that here. [PR]: actions-rust-lang/setup-rust-toolchain#41
- Loading branch information