Skip to content

Commit

Permalink
Add test-rust-check-all for more stable branch protection checks
Browse files Browse the repository at this point in the history
This way we only need one required rust check on the branch protection settings.
  • Loading branch information
JasonGross committed Oct 26, 2023
1 parent f334d24 commit b0bce1c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,17 @@ jobs:
run: cargo build -p fiat-crypto --target thumbv7em-none-eabi --release --no-default-features
- name: no_std / cargo hack fiat-crypto
run: cargo hack build -p fiat-crypto --target thumbv7em-none-eabi --release --each-feature --exclude-features default,std

test-rust-check-all:
runs-on: ubuntu-latest
needs: [test-rust, build-nostd]
if: always()
steps:
- run: echo 'The triggering workflow (test-rust) passed'
if: ${{ needs.test-rust.result == 'success' }}
- run: echo 'The triggering workflow (test-rust) failed' && false
if: ${{ needs.test-rust.result != 'success' }}
- run: echo 'The triggering workflow (build-nostd) passed'
if: ${{ needs.build-nostd.result == 'success' }}
- run: echo 'The triggering workflow (build-nostd) failed' && false
if: ${{ needs.build-nostd.result != 'success' }}

0 comments on commit b0bce1c

Please sign in to comment.