diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3ba2aa2459..d3443e8198 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -26,6 +26,7 @@ jobs: - doc - check-external-types - udeps + - minimal-versions steps: - run: exit 0 @@ -272,3 +273,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