From 24d91665819f8a9888d9e27ed97c658405ce286a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 4 Jul 2023 10:20:33 -0700 Subject: [PATCH] Add CI job using minimal-versions --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8bfedc..4ee51c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,6 +58,18 @@ jobs: - run: cargo check - run: cargo check --no-default-features + 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 --features backtrace + windows: name: Windows needs: pre_ci