From 862791eddff38591083173cf1bd159d58d1b79b0 Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Mon, 23 Dec 2024 23:40:59 +0300 Subject: [PATCH] debug Signed-off-by: onur-ozkan --- .github/actions/cargo-cache/action.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/actions/cargo-cache/action.yml b/.github/actions/cargo-cache/action.yml index 89069e77979..0974353c215 100644 --- a/.github/actions/cargo-cache/action.yml +++ b/.github/actions/cargo-cache/action.yml @@ -7,14 +7,13 @@ runs: uses: actions/checkout@v3 - name: Set up cargo cache - uses: actions/cache@v3 - continue-on-error: false - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- + uses: Swatinem/rust-cache@v2.2.1 + + - name: Configure sccache + shell: bash + run: | + echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV + echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV + + - name: Set up sccache-cache + uses: mozilla-actions/sccache-action@v0.0.2