Check only (no longer test) at the MSRV #72
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: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Tests | |
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 --no-self-update | |
- run: cargo +${{ matrix.channel }} test --all | |
msrv: | |
name: Check building 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 | |
- run: cargo build |