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

Improve caching in CI and CD #393

Merged
merged 2 commits into from Mar 24, 2022
Merged

Conversation

hendrikmaus
Copy link
Contributor

@hendrikmaus hendrikmaus commented Mar 24, 2022

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.

Copy link
Owner

@hannobraun hannobraun left a comment

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants