diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7f60e71..bcd7aca 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -81,7 +81,9 @@ jobs: coverage: name: Code coverage - needs: pre_job + needs: + - pre_job + - test if: ${{ needs.pre_job.outputs.should_skip != 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }} runs-on: ubuntu-latest steps: