From c4800e62fe6b4faf618fb306cfed786cb365031d Mon Sep 17 00:00:00 2001 From: Teakowa <27560638+Teakowa@users.noreply.github.com> Date: Thu, 27 Aug 2026 13:38:56 +0800 Subject: [PATCH 1/7] ci: use shared Rust quality workflow Refs wrightkit/.github#17 --- .github/workflows/ci.yml | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21c443c..ec54075 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,42 +97,17 @@ jobs: name: Rust quality (${{ matrix.toolchain }}) needs: paths if: needs.paths.outputs.rust_core == 'true' - runs-on: ubuntu-latest strategy: fail-fast: false matrix: toolchain: - stable - 1.85.0 - - steps: - - name: Check out repository - uses: actions/checkout@v7 - - - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ matrix.toolchain }} - components: clippy, rustfmt - - name: Restore Rust cache - uses: Swatinem/rust-cache@v2 - with: - shared-key: linux-quality - cache-targets: true - cache-all-crates: false - cache-workspace-crates: false - cache-bin: false - save-if: ${{ github.ref == 'refs/heads/main' }} - cache-on-failure: false - - - name: Check formatting - run: cargo fmt --all -- --check - - - name: Run Clippy - run: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings - - - name: Run tests - run: cargo test --locked --workspace --all-targets --all-features + uses: wrightkit/.github/.github/workflows/rust-quality.yml@66fff829662bf235c7322194b4bafafba2a0f97e + with: + toolchain: ${{ matrix.toolchain }} + cache-shared-key: linux-quality + all-features: true # ------------------------------------------------------------------------- # [1a] WORKSHOP REAL-PROJECT INTEGRATION (Wright's released Workshop consumer) From 30168ad2de7ea920e24075dde023441d9f2384db Mon Sep 17 00:00:00 2001 From: Teakowa <27560638+Teakowa@users.noreply.github.com> Date: Thu, 27 Aug 2026 13:58:25 +0800 Subject: [PATCH 2/7] ci: refresh shared workflow pin --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec54075..11e4c7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: toolchain: - stable - 1.85.0 - uses: wrightkit/.github/.github/workflows/rust-quality.yml@66fff829662bf235c7322194b4bafafba2a0f97e + uses: wrightkit/.github/.github/workflows/rust-quality.yml@493ad9867b999de27f9ee38e5cde2bc805f3e1ef with: toolchain: ${{ matrix.toolchain }} cache-shared-key: linux-quality From c7c693761937f745bfd64ed9ae8e53515d04edce Mon Sep 17 00:00:00 2001 From: Teakowa <27560638+Teakowa@users.noreply.github.com> Date: Thu, 27 Aug 2026 14:21:51 +0800 Subject: [PATCH 3/7] ci: refresh shared workflow pin --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11e4c7a..0adcb42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: toolchain: - stable - 1.85.0 - uses: wrightkit/.github/.github/workflows/rust-quality.yml@493ad9867b999de27f9ee38e5cde2bc805f3e1ef + uses: wrightkit/.github/.github/workflows/rust-quality.yml@19ea0a318d6a1ef626321373f87ff8d59b5a46ae with: toolchain: ${{ matrix.toolchain }} cache-shared-key: linux-quality From 51773d692b56d715c031b0c7b4030c07685fc336 Mon Sep 17 00:00:00 2001 From: Teakowa <27560638+Teakowa@users.noreply.github.com> Date: Thu, 27 Aug 2026 17:53:21 +0800 Subject: [PATCH 4/7] ci: use corrected shared workflow revision --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0adcb42..3ad4e90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: toolchain: - stable - 1.85.0 - uses: wrightkit/.github/.github/workflows/rust-quality.yml@19ea0a318d6a1ef626321373f87ff8d59b5a46ae + uses: wrightkit/.github/.github/workflows/rust-quality.yml@9a91b5e32cc6d90b79b2b9b47a62b835ab94ec86 with: toolchain: ${{ matrix.toolchain }} cache-shared-key: linux-quality From aec7d755821e90e8d738b8820bc3288dd75cdc87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=90=93=F0=9D=90=9E=F0=9D=90=9A=F0=9D=90=A4?= =?UTF-8?q?=F0=9D=90=A8=F0=9D=90=B0=F0=9D=90=9A?= <27560638+Teakowa@users.noreply.github.com> Date: Thu, 27 Aug 2026 18:35:57 +0800 Subject: [PATCH 5/7] ci: shorten shared quality check names --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ad4e90..05bc0ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,7 @@ jobs: # All other Rust-based jobs depend on this. # ------------------------------------------------------------------------- rust-quality: - name: Rust quality (${{ matrix.toolchain }}) + name: Rust (${{ matrix.toolchain }}) needs: paths if: needs.paths.outputs.rust_core == 'true' strategy: @@ -103,7 +103,7 @@ jobs: toolchain: - stable - 1.85.0 - uses: wrightkit/.github/.github/workflows/rust-quality.yml@9a91b5e32cc6d90b79b2b9b47a62b835ab94ec86 + uses: wrightkit/.github/.github/workflows/rust-quality.yml@0d53d3cfd45a025b445dcf837313c4b8a9f4cfda with: toolchain: ${{ matrix.toolchain }} cache-shared-key: linux-quality From cffce5cb4fa3d4038f8c99b2874c8fecb53d12e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=90=93=F0=9D=90=9E=F0=9D=90=9A=F0=9D=90=A4?= =?UTF-8?q?=F0=9D=90=A8=F0=9D=90=B0=F0=9D=90=9A?= <27560638+Teakowa@users.noreply.github.com> Date: Thu, 27 Aug 2026 18:38:20 +0800 Subject: [PATCH 6/7] ci: retrigger shared workflow validation From e7584b96fa968474aa82b585da3dca2ab197db36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=90=93=F0=9D=90=9E=F0=9D=90=9A=F0=9D=90=A4?= =?UTF-8?q?=F0=9D=90=A8=F0=9D=90=B0=F0=9D=90=9A?= <27560638+Teakowa@users.noreply.github.com> Date: Thu, 27 Aug 2026 18:50:18 +0800 Subject: [PATCH 7/7] ci: pin shared quality workflow to merged SHA --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05bc0ea..cbec09c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: toolchain: - stable - 1.85.0 - uses: wrightkit/.github/.github/workflows/rust-quality.yml@0d53d3cfd45a025b445dcf837313c4b8a9f4cfda + uses: wrightkit/.github/.github/workflows/rust-quality.yml@a83d0f1b4cbcb5b81fb0426e3a5aea1db0899fb5 with: toolchain: ${{ matrix.toolchain }} cache-shared-key: linux-quality