Merge pull request #9 from cryptape/feature/spec-improvement #54
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] | |
merge_group: {} | |
jobs: | |
matrix: | |
name: Build and Test Matrix | |
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' }} |