[EXPERIMENT] Declare MSRV and drop Cargo.lock from versioning #13
Workflow file for this run
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: Test suite | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| tests_debug: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| rust: | |
| - beta | |
| - nightly | |
| - 1.76.0 # Minimum supported version | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v5 | |
| - name: Setup Rust toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| - name: Run tests | |
| run: | | |
| cargo --version | |
| cargo +${{ matrix.rust }} --version | |
| cargo +${{ matrix.rust }} test | |
| test_windows: | |
| name: Run tests on windows | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| rust: | |
| - stable | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v5 | |
| - name: Setup Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Run tests | |
| run: cargo test |