From 76c3bd9f5297afcc79804e66a78502102e549f73 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Mon, 13 Jan 2025 14:48:21 -0500 Subject: [PATCH] update regression workflow to fetch deps after --- .github/workflows/check-regressions.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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