From 59fae63d815c8b2f0e47a93e27af31c4fd2379fa Mon Sep 17 00:00:00 2001 From: sehkone Date: Sat, 17 Jan 2026 09:54:26 +0900 Subject: [PATCH] Enable sccache for CI Rust builds Add sccache action and set RUSTC_WRAPPER so Rust compiles reuse cached artifacts across runs. Closes #126 --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c56c80..1c3fb15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: env: CARGO_TERM_COLOR: always + RUSTC_WRAPPER: sccache jobs: check: @@ -26,6 +27,9 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 + - name: Setup sccache + uses: mozilla-actions/sccache-action@v0.0.6 + - name: Check Rust Formatting run: cargo fmt -- --check --config group_imports=StdExternalCrate @@ -71,6 +75,9 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@v2 + - name: Setup sccache + uses: mozilla-actions/sccache-action@v0.0.6 + # --- Unit Testing --- - name: Run Unit Tests run: cargo test