Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Improve caching in CI and CD - #393

Merged
hannobraun merged 2 commits into
hannobraun:mainfrom
hendrikmaus:improve-caching
Mar 24, 2022
Merged

Improve caching in CI and CD#393
hannobraun merged 2 commits into
hannobraun:mainfrom
hendrikmaus:improve-caching

Conversation

@hendrikmaus

@hendrikmaus hendrikmaus commented Mar 24, 2022

Copy link
Copy Markdown
Contributor

This change-set changes the actions-rs/toolchain@v1 Action temporarily to a fork that supports rust-toolchain.toml as intended. The issue on the upstream Action is open, but not merged yet actions-rs/toolchain#209. Once merged and released, we can switch back to the upstream Action in all workflow files.

In the CD workflow, the target is now included in the cache key. In my experiments, that improved caching, especially for the apple targets. Before, the aarch apple target would run with the x86_64 apple cache.

@hendrikmaus
hendrikmaus requested a review from hannobraun as a code owner March 24, 2022 07:47

@hannobraun hannobraun left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @hendrikmaus, looks good to me! (Disclaimers about my CI/CD non-expertise apply.)

I did a rebase (#391 was merged in the meantime). The PR applies cleanly, CI runs, and seems to use the right version. Merging!

@hannobraun
hannobraun merged commit c8dbac5 into hannobraun:main Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants