diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d9086d..6b60c56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,6 +80,25 @@ jobs: - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v2 + min-versions: + name: Minimal Dependency Versions + runs-on: ubuntu-latest + needs: [lints, docs] + steps: + - name: Checkout sources + uses: actions/checkout@v3 + + - name: Install nightly toolchain + uses: dtolnay/rust-toolchain@nightly + + - name: Install cargo-hack + uses: taiki-e/install-action@cargo-hack + - name: Install cargo-minimal-versions + uses: taiki-e/install-action@cargo-minimal-versions + + - name: Check with minimal versions + run: cargo minimal-versions check --workspace --ignore-private + lints: name: Lints runs-on: ubuntu-latest @@ -148,7 +167,7 @@ jobs: runs-on: ubuntu-latest environment: production if: github.event_name == 'release' - needs: [build, test, msrv, lints, docs, leaks, semver] + needs: [build, test, msrv, lints, docs, leaks, semver, min-versions] steps: - name: Checkout sources uses: actions/checkout@v3