Skip to content

Commit

Permalink
Merge pull request #59 from cuviper/ci-merge
Browse files Browse the repository at this point in the history
Try to make the CI status more robust
  • Loading branch information
cuviper committed Feb 1, 2024
2 parents ac0b695 + 5a97379 commit 9b4acd7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@ jobs:
components: rustfmt
- run: cargo fmt --all --check

done:
ci-status:
name: Complete
runs-on: ubuntu-latest
needs: [test, no_std, fmt]
if: always()
steps:
- run: exit 0
- if: ${{ success() }}
run: exit 0
- if: ${{ !success() }}
run: exit 1
8 changes: 6 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ jobs:
components: rustfmt
- run: cargo fmt --all --check

done:
ci-status:
name: Complete
runs-on: ubuntu-latest
needs: [test, fmt]
if: always()
steps:
- run: exit 0
- if: ${{ success() }}
run: exit 0
- if: ${{ !success() }}
run: exit 1

0 comments on commit 9b4acd7

Please sign in to comment.