Check only (no longer test) at the MSRV #69
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| name: "Test with ${{ matrix.channel }} on ${{ matrix.os }}" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| channel: | |
| - stable | |
| - beta | |
| - nightly | |
| - 1.63.0 # MSRV of test dependencies | |
| os: | |
| - macos-11 | |
| - windows-2022 | |
| - ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Update rust | |
| run: | | |
| rustup default ${{ matrix.channel }} | |
| rustup update ${{ matrix.channel }} --no-self-update | |
| - name: Tests | |
| run: cargo +${{ matrix.channel }} test --all | |
| msrv: | |
| name: "Check with the MSRV" | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Update rust | |
| run: | | |
| rustup default 1.23.0 | |
| rustup update --no-self-update | |
| - name: Tests | |
| run: cargo check |