Add CI job using minimal-versions

This commit is contained in:
David Tolnay 2023-07-05 10:01:33 -07:00
parent 992a01bad2
commit ea071ae1d4
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -128,6 +128,16 @@ jobs:
- uses: dtolnay/rust-toolchain@1.36.0
- run: cd serde && cargo build --no-default-features --features alloc
minimal:
name: Minimal versions
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- run: cargo generate-lockfile -Z minimal-versions
- run: cargo check --locked --workspace
clippy:
name: Clippy
runs-on: ubuntu-latest