Skip to content

Commit 5d919ba

Browse files
committed
ci: update msrv job to use minimal-versions
1 parent c3b2187 commit 5d919ba

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,17 @@ jobs:
5757
- run: cargo test
5858

5959
msrv:
60-
runs-on: ubuntu-latest
60+
runs-on: ${{ matrix.os }}
61+
strategy:
62+
fail-fast: false
63+
matrix:
64+
os: [ubuntu-latest, windows-latest, macos-latest]
6165
steps:
6266
- uses: taiki-e/checkout-action@v1
63-
- name: Install cargo-hack
64-
uses: taiki-e/install-action@cargo-hack
65-
- run: cargo hack build --rust-version
67+
- name: Install cargo-hack and cargo-minimal-versions
68+
uses: taiki-e/install-action@v2
69+
with:
70+
tool: |
71+
cargo-hack
72+
cargo-minimal-versions
73+
- run: cargo minimal-versions build --no-dev-deps --rust-version --workspace --feature-powerset

0 commit comments

Comments
 (0)