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

Enable Cargo's sparse registry for CI #261

Merged
merged 3 commits into from
May 10, 2023

Conversation

TimJentzsch
Copy link
Collaborator

@TimJentzsch TimJentzsch commented May 10, 2023

Closes #260.

This PR enables Cargo's sparse registry which can speed up the dependency updates in some cases.

The also https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html.

Depends on #262 for fixing CI.

@janhohenheim
Copy link
Owner

janhohenheim commented May 10, 2023

Looks like this saves us 3-4 mins on test-native-docs :D

@janhohenheim janhohenheim merged commit 9273cea into janhohenheim:main May 10, 2023
@TimJentzsch TimJentzsch deleted the 260-ci-sparse-registry branch May 10, 2023 12:14
@TimJentzsch
Copy link
Collaborator Author

Looks like this saves us 3-4 mins on test-native-docs :D

That's more than I expected.
Are you sure this change isn't also caused by the cache?
I.e. that we got a cache miss in the previous run?

@janhohenheim
Copy link
Owner

Could be. In my experience, test-native-docs is a bit weird in general judging by what does and does not factor into its caching.

@TimJentzsch
Copy link
Collaborator Author

I also think parts of the cache are not working correctly for some of our CI workflows...
It's really strange how long CI is taking for us

janhohenheim added a commit that referenced this pull request Feb 4, 2024
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.

Enable sparse registry for CI
2 participants