Skip to content

Commit 1059ce9

Browse files
committed
Add check-matrix job for verifying if all check jobs succeeded
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
1 parent c4f2c3e commit 1059ce9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ jobs:
7474
- name: Check all features source
7575
run: cargo check --target ${{ matrix.target }} --all-features --workspace --all-targets
7676

77+
check-matrix:
78+
name: Check if all checks succeeded
79+
if: always()
80+
needs:
81+
- check
82+
runs-on: ubuntu-latest
83+
steps:
84+
- name: Decide whether the needed jobs succeeded or failed
85+
uses: re-actors/alls-green@release/v1
86+
with:
87+
jobs: ${{ toJSON(needs) }}
88+
7789
tests-softhsm:
7890
name: Run tests against SoftHSM
7991
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)