Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,21 @@ jobs:

- name: Run cargo doc
run: cargo doc --workspace --all-features --document-private-items --no-deps

required:
name: Check required jobs
runs-on: ubuntu-latest
if: ${{ always() }}
# Keep this list in sync with all CI jobs that should be required.
# `codecov` is intentionally excluded from this aggregator.
needs: [lints, check, test, MSRV, doc]

steps:
- name: Fail if any required job did not succeed
if: >-
${{
contains(needs.*.result, 'failure') ||
contains(needs.*.result, 'cancelled') ||
contains(needs.*.result, 'skipped')
}}
run: exit 1