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