diff --git a/.github/workflows/check-regressions.yml b/.github/workflows/check-regressions.yml index a69bbde2..7192941c 100644 --- a/.github/workflows/check-regressions.yml +++ b/.github/workflows/check-regressions.yml @@ -48,7 +48,7 @@ jobs: repository: ${{ matrix.repo.org }}/${{ matrix.repo.name }} path: ${{ matrix.repo.org }}/${{ matrix.repo.name }} - - name: Fetch dependencies + - name: Fetch dependencies (before) run: cargo fetch - name: Obtain results before changes @@ -61,6 +61,9 @@ jobs: git checkout ${{ github.sha }} echo 'checked out ${{ github.sha }}' + - name: Fetch dependencies (after) + run: cargo fetch + - name: Obtain results after changes run: | cargo run --locked --release --bin datadog-static-analyzer -- -i ${{ matrix.repo.org }}/${{ matrix.repo.name }} -o result-post.json -b -f sarif