Skip to content

ci: reduce self-hosted rebuilds#352

Merged
KKould merged 1 commit into
mainfrom
ci/speed-up-self-hosted
Jun 14, 2026
Merged

ci: reduce self-hosted rebuilds#352
KKould merged 1 commit into
mainfrom
ci/speed-up-self-hosted

Conversation

@KKould

@KKould KKould commented Jun 14, 2026

Copy link
Copy Markdown
Member

Summary

  • keep Cargo target artifacts outside the checked-out repository so self-hosted runs can reuse them
  • avoid running cargo check, cargo build, and cargo test back-to-back in the same job
  • keep the Rust project check focused on make test

Why

The previous Rust project check spent about 19m40s total, with cargo check, cargo build, and cargo test each rebuilding large portions of the project. The checkout clean step also removed target artifacts when they lived inside the repository.

Testing

  • git diff --check

@KKould KKould merged commit 561007d into main Jun 14, 2026
7 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.

1 participant