Skip to content

Commit

Permalink
Merge pull request #307 from cuviper/ci-merge
Browse files Browse the repository at this point in the history
Make the CI status more robust
  • Loading branch information
cuviper committed Feb 1, 2024
2 parents fbd56f1 + 3a68b13 commit 46392d7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,16 @@ jobs:
components: rustfmt
- run: cargo fmt --all --check

done:
ci-success:
name: Complete
runs-on: ubuntu-latest
needs: [test, i586, no_std, fmt]
steps:
- run: exit 0
ci-failed:
name: Complete
runs-on: ubuntu-latest
needs: [test, i586, no_std, fmt]
if: failure()
steps:
- run: exit 1
9 changes: 8 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@ jobs:
- uses: actions/checkout@v4
- run: cargo fmt --all --check

done:
ci-success:
name: Complete
runs-on: ubuntu-latest
needs: [test, fmt]
steps:
- run: exit 0
ci-failed:
name: Complete
runs-on: ubuntu-latest
needs: [test, fmt]
if: failure()
steps:
- run: exit 1

0 comments on commit 46392d7

Please sign in to comment.