From 3cda68a7ea7dfce9fa0bae1c65fc189ae6f46ab0 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 4 Jul 2023 12:27:19 -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 4d9730d..b56868e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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