From b3bf4ccb711478c4cd2ef53962a3994ba827c032 Mon Sep 17 00:00:00 2001 From: Manuel Raimann Date: Wed, 11 Feb 2026 21:13:39 +0100 Subject: [PATCH] chore: parallelize feature-check CI with 4 matrix partitions Use cargo hack's --partition flag to split the feature powerset across 4 parallel jobs, reducing wall-clock time for the feature-check step. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 572b54a..cd4eb15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,8 +98,12 @@ jobs: RUSTDOCFLAGS: -D warnings feature-check: - name: Feature Combinations + name: Feature Combinations (${{ matrix.partition }}/4) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + partition: [1, 2, 3, 4] steps: - uses: actions/checkout@v6 - name: Install Rust @@ -110,7 +114,7 @@ jobs: uses: taiki-e/install-action@cargo-hack - uses: Swatinem/rust-cache@v2 - name: Check feature powerset - run: cargo hack check --feature-powerset --no-dev-deps + run: cargo hack check --feature-powerset --no-dev-deps --partition ${{ matrix.partition }}/4 coverage: name: Coverage