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

Cache CI builds #87

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Cache CI builds #87

merged 1 commit into from
Sep 24, 2024

Conversation

rukai
Copy link
Collaborator

@rukai rukai commented Sep 24, 2024

Should help alleviate the CI runtime cost of #86 a little.

I tested without the save-if in order to test caching before this PR is merged, and it looks this PR saves ~30s in CI time.

@rukai rukai force-pushed the cache_ci_builds branch 2 times, most recently from a6e020f to 26a0989 Compare September 24, 2024 00:54
with:
# this line means that only the main branch writes to the cache
# benefits: save about 7s per workflow by skipping the actual cache write
# downsides: PRs that update rust version or changes deps will be slower to iterate on due to changes not being cached.
Copy link
Owner

Choose a reason for hiding this comment

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

Definitely worth the trade-off I think.

@tychedelia tychedelia merged commit bea5f24 into tychedelia:main Sep 24, 2024
3 checks passed
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.

2 participants