Skip to content

Commit

Permalink
chore(ci): add minimal versions checking
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored and seanmonstar committed Nov 15, 2023
1 parent 931aee7 commit f1bb2aa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- doc
- check-external-types
- udeps
- minimal-versions
steps:
- run: exit 0

Expand Down Expand Up @@ -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

0 comments on commit f1bb2aa

Please sign in to comment.