Do not pretend to cache rust build artifacts, speed up CI by ~20% #2150
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
re #2149
Rationale for this change
Caching rust build artifacts (aka the contents of
target
) is notoriously difficult (as the slightest change in various environments or dependencies often causes a significant recompile).However, the CI jobs spent a non trivial amount of time attempting to cache the artifacts unsuccessfully (as my measurements below will show). Until someone has some time to get the caching working properly, I propose we simply stop trying and save ourselves some time (and github worker rate-limit credits)
What changes are included in this PR?
Remove the
linux-build-lib
job as it gates other jobs from starting but does not save any timeAre there any user-facing changes?
Hopefully faster CI
Master PR before this change: https://github.com/apache/arrow-rs/pull/2144/checks
Rust run took: 38m 44s: https://github.com/apache/arrow-rs/actions/runs/2724270288/usage
This PR: https://github.com/apache/arrow-rs/pull/2150/checks
Rust run took: 30 m39s: https://github.com/apache/arrow-rs/actions/runs/2724923930/usage