Skip to content

Commit

Permalink
refactor(ci): use cargo-minimal-versions to check minimal versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored and seanmonstar committed Mar 6, 2024
1 parent 24c2837 commit 05d9aeb
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ jobs:
- run: cargo test --workspace
- if: matrix.rust == 'nightly'
run: cargo test --benches
- name: Check minimal versions
if: matrix.rust == 'nightly'
run: |
cargo clean
cargo update -Z minimal-versions
cargo check

minimal-versions:
runs-on: ubuntu-latest
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
- run: cargo minimal-versions check --workspace

MSRV:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 05d9aeb

Please sign in to comment.