diff --git a/.github/workflows/loco-cli-new.yml b/.github/workflows/loco-cli-new.yml index 23dfa44f2..a73f305b6 100644 --- a/.github/workflows/loco-cli-new.yml +++ b/.github/workflows/loco-cli-new.yml @@ -57,6 +57,14 @@ jobs: - name: Setup Rust cache uses: Swatinem/rust-cache@v2 + - name: Configure sccache + run: | + echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV + echo “SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV + + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.2 + - name: Run cargo test run: cargo test --all-features -- --test-threads 1 working-directory: ./loco-new