Commit Cargo.lock to pin certain crates to specific versions for msrv #581
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 - min test matrix | |
on: [pull_request, push] | |
jobs: | |
min_test_matrix: | |
name: Run minimal test matrix (Rust ${{ matrix.toolchain }} on ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
env: | |
RUSTFLAGS: -D warnings | |
strategy: | |
fail-fast: false # If one job fails, run remaining jobs. | |
matrix: | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
- 1.60.0 # MSRV | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- name: Test all crates | |
run: cargo test --all --verbose --features "use_serde" |