From 6004ca1e88008fa7c6ccb9926497ef6a995243a3 Mon Sep 17 00:00:00 2001 From: tottoto Date: Thu, 16 Nov 2023 00:27:13 +0900 Subject: [PATCH] chore(ci): add minimal versions checking --- .github/workflows/CI.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3ba2aa2459..dedbf51c55 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -272,3 +272,16 @@ jobs: - name: Check unused dependencies on full features run: cargo udeps --features full + + minimal-versions: + runs-on: ubuntu-latest + needs: [style] + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@stable + - uses: taiki-e/install-action@cargo-hack + - uses: taiki-e/install-action@cargo-minimal-versions + - uses: Swatinem/rust-cache@v2 + - run: cargo minimal-versions check + - run: cargo minimal-versions check --features full