Skip to content

Various CI improvements#32

Merged
alice-i-cecile merged 3 commits intoalice-i-cecile:mainfrom
Nilirad:ci-improvements
Feb 10, 2026
Merged

Various CI improvements#32
alice-i-cecile merged 3 commits intoalice-i-cecile:mainfrom
Nilirad:ci-improvements

Conversation

@Nilirad
Copy link
Contributor

@Nilirad Nilirad commented Feb 10, 2026

This PR reworks the CI workflow to optimize it and making it more robust. Here is the summary of the changes:

  1. Replaced actions/cache with Swatinem/rust-cache, which is optimized and pre-configured for Rust builds.
  2. Added a concurrency group to automatically cancel a running CI when a new run is started (e.g. when a new commit is pushed).
  3. Changed Clippy job to run with three feature configurations: none, default, and all.
  4. Added crate-ci/typos for spell checking.
  5. Made the heavier jobs depend on the faster typos and format jobs, such that they are prevented from running if CI is already failing.
  6. docs job merged into test job to share build artifacts.
  7. Added the flag --features "bevy/dynamic_linking" to cargo test to speed up tests, which take up a huge portion of time.
  8. Added the flag --all-features" to cargo doc to check documentation of optional features (e.g. remote).

@alice-i-cecile alice-i-cecile merged commit 3581363 into alice-i-cecile:main Feb 10, 2026
6 checks passed
@Nilirad Nilirad deleted the ci-improvements branch February 19, 2026 17:31
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