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: Run setup-rust-toolchain from fork with cache key support #77

Merged
merged 1 commit into from
Jul 12, 2024

Commits on Jul 12, 2024

  1. 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
    iainlane committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    eefcd5e View commit details
    Browse the repository at this point in the history