From 61c6f67f824b92bf5fc871342324ae2318823aef Mon Sep 17 00:00:00 2001 From: jbernavaprah Date: Tue, 9 Jun 2026 22:28:41 +0200 Subject: [PATCH] ci: use the shared rust-ci reusable workflow Replace the per-repo serial fmt+clippy+test job with a thin wrapper around phoxal/.github's rust-ci.yml, which runs the three as parallel jobs (~halves CI wall-clock) and centralizes the logic instead of copy-pasting it per repo. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3413f23..fdbc47b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,18 +5,7 @@ on: push: branches: [main] -env: - CARGO_TERM_COLOR: always - jobs: - test: - name: cargo test + clippy + fmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - components: rustfmt, clippy - - run: cargo fmt --all -- --check - - run: cargo clippy --workspace --all-targets -- -D warnings - - run: cargo test --workspace + ci: + uses: phoxal/.github/.github/workflows/rust-ci.yml@main + secrets: inherit