From 391ab9e7a1d850ccfe0093819a7fd369eced7f41 Mon Sep 17 00:00:00 2001 From: David Bernard Date: Sun, 1 Sep 2024 20:00:15 +0200 Subject: [PATCH] ci: enable sccache --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6654df8..5b31d3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,12 +26,19 @@ jobs: env: CARGO_TERM_COLOR: always RUST_BACKTRACE: full + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" steps: - uses: actions/checkout@v4 + - uses: mozilla-actions/sccache-action@v0.0.5 - uses: jdx/mise-action@v2 with: experimental: true - run: mise install + shell: bash working-directory: ${{ matrix.folder }} - run: task ci + shell: bash working-directory: ${{ matrix.folder }} + - run: ${SCCACHE_PATH} --show-stats + shell: bash