Fixed a bug in version ordering which caused big failures #38
This file contains hidden or 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: build_and_test | |
| on: [pull_request, push] | |
| jobs: | |
| build_and_test: | |
| env: | |
| RUST_BACKTRACE: 1 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| toolchain: [stable, beta] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Modern Rust toolchain installation | |
| - name: Install Rust ${{ matrix.toolchain }} | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.toolchain }} | |
| # Rust cache speeds up your builds significantly | |
| - uses: Swatinem/rust-cache@v2 | |
| # Use standard cargo commands instead of custom actions | |
| - name: Build | |
| run: cargo build --verbose --all | |
| - name: Test | |
| run: cargo test --verbose --all |