Skip to content

Commit f396957

Browse files
committed
Add a min-versions run to the CI
This is more exhaustive than the min-versions-shallow run that only downgrades direct dependencies. Closes Nullus157#85.
1 parent 13934c4 commit f396957

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/exhaustive.yml

+18-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- run: cargo --locked nextest run --workspace --all-features
2727
- run: cargo --locked test --workspace --doc --all-features
2828

29-
min-versions:
29+
min-versions-shallow:
3030
name: cargo test --shallow-minimal-versions
3131
runs-on: ubuntu-latest
3232
steps:
@@ -55,6 +55,23 @@ jobs:
5555
- run: cargo --locked nextest run --workspace --all-features
5656
- run: cargo --locked test --workspace --doc --all-features
5757
58+
min-versions:
59+
name: cargo test minimal-versions
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v4
63+
- uses: actions-rust-lang/setup-rust-toolchain@v1
64+
with: { toolchain: nightly }
65+
- name: Update to minimal versions
66+
run:
67+
cargo update -Z minimal-versions
68+
- uses: actions-rust-lang/setup-rust-toolchain@v1
69+
with: { toolchain: stable }
70+
- uses: taiki-e/install-action@v2
71+
with: { tool: cargo-nextest }
72+
- run: cargo --locked nextest run --workspace --all-features
73+
- run: cargo --locked test --workspace --doc --all-features
74+
5875
check-features:
5976
name: cargo hack check --feature-powerset
6077
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)