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