From f798106c1df4495fec9edebe93415d9883cdaafd Mon Sep 17 00:00:00 2001 From: Rina Fujino <18257209+rina23q@users.noreply.github.com> Date: Tue, 2 Aug 2022 14:36:52 +0200 Subject: Add "needs" on the Udeps job to run after Rust code changes All jobs that require the filtering result must run after the filtering job finishes. Refer to https://github.com/dorny/paths-filter#examples. Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com> --- .github/workflows/pull-request-checks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull-request-checks.yml b/.github/workflows/pull-request-checks.yml index e0385719..151df0b9 100644 --- a/.github/workflows/pull-request-checks.yml +++ b/.github/workflows/pull-request-checks.yml @@ -48,6 +48,7 @@ jobs: udeps: name: Check for unused dependencies runs-on: ubuntu-latest + needs: changes if: ${{ needs.changes.outputs.rust == 'true' || needs.changes.outputs.workflows == 'true' }} steps: - uses: actions/checkout@v3 -- cgit v1.2.3