diff --git a/.github/workflows/check-regressions.yml b/.github/workflows/check-regressions.yml index 73016c96..5cad3403 100644 --- a/.github/workflows/check-regressions.yml +++ b/.github/workflows/check-regressions.yml @@ -48,9 +48,14 @@ jobs: repository: ${{ matrix.repo.org }}/${{ matrix.repo.name }} path: ${{ matrix.repo.org }}/${{ matrix.repo.name }} + - name: Clean cargo git cache + run: | + rm -rf ~/.cargo/git + cargo clean + - name: Obtain results before changes run: | - cargo run --locked --release --bin datadog-static-analyzer -- -i ${{ matrix.repo.org }}/${{ matrix.repo.name }} -o result-pre.json -b -f sarif + cargo run --locked --frozen --release --bin datadog-static-analyzer -- -i ${{ matrix.repo.org }}/${{ matrix.repo.name }} -o result-pre.json -b -f sarif - name: Fetch all branches and checkout PR run: |