From ea071ae1d4d1a38e3803545c53970effcbf77f3f Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 5 Jul 2023 10:01:33 -0700 Subject: [PATCH] Add CI job using minimal-versions --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91008584..37f8cbfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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