rust-lang / rust-lang/rust-clippy
[CI] Use rust-cache@v2 when building on CI
Open
Nobody has claimed this yet.
A-infra
G-performance-project
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
Description
We're currently only using cache on the lintcheck.yml workflow. This means that we're downloading and building the same crates a lot. We currently use about 50s on that Build step. About a third of the CI time.
We should use the rust-cache Action for this purpose.
Version
NA
Additional Labels
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the lintcheck.yml workflow and the other CI workflows that build Rust crates. Review the rust-cache action documentation, identify which build jobs lack caching, and verify that the affected CI jobs use the cache successfully without changing their existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, rust
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100