Add CI job using minimal-versions

This commit is contained in:
David Tolnay 2023-07-04 12:27:19 -07:00
parent 23d8fadc50
commit 3cda68a7ea
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -40,6 +40,18 @@ jobs:
if: matrix.rust == 'nightly'
- run: cargo test --all
minimal:
name: Minimal versions
needs: pre_ci
if: needs.pre_ci.outputs.continue
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
clippy:
name: Clippy
runs-on: ubuntu-latest