From c1c22cd8035d796452e59f7419e79f50c70c56e7 Mon Sep 17 00:00:00 2001 From: 0xfourzerofour Date: Wed, 4 Oct 2023 15:08:11 -0400 Subject: [PATCH] chore(spec): add cargo cache --- .github/workflows/compliance.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/compliance.yaml b/.github/workflows/compliance.yaml index e16199a9e..0f36b3d3b 100644 --- a/.github/workflows/compliance.yaml +++ b/.github/workflows/compliance.yaml @@ -25,6 +25,17 @@ jobs: - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true + + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - name: Setup PDM