Returning Errors #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
matrix: | |
name: Build and Test | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: | |
- "1.76.0" | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- run: cargo build --verbose | |
- run: cargo test --verbose | |
ci: | |
name: Build and Test | |
needs: matrix | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- run: ${{ needs.matrix.result == 'success' && 'true' || 'false' }} |