diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5b469dbb..cc29943e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -299,6 +299,16 @@ jobs: with: submodules: "recursive" + - name: "Restore the cached build" + uses: "actions/cache/restore@v3" + with: + fail-on-cache-miss: true + key: "foundry-build-${{ github.sha }}" + path: | + cache + out + out-optimized + - name: "Run Slither analysis" uses: "crytic/slither-action@v0.3.0" id: "slither" @@ -307,6 +317,7 @@ jobs: sarif: "results.sarif" solc-version: "0.8.19" target: "src/" + ignore-compile: true - name: "Upload SARIF file to GitHub code scanning" uses: "github/codeql-action/upload-sarif@v2"