Skip to content

Commit

Permalink
Add a min-versions run to the CI
Browse files Browse the repository at this point in the history
This is more exhaustive than the min-versions-shallow run that only
downgrades direct dependencies.
  • Loading branch information
g2p committed Oct 4, 2023
1 parent 13934c4 commit 0b4ba70
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/exhaustive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run: cargo --locked nextest run --workspace --all-features
- run: cargo --locked test --workspace --doc --all-features

min-versions:
min-versions-shallow:
name: cargo test --shallow-minimal-versions
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -55,6 +55,23 @@ jobs:
- run: cargo --locked nextest run --workspace --all-features
- run: cargo --locked test --workspace --doc --all-features
min-versions:
name: cargo test minimal-versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with: { toolchain: nightly }
- name: Update to minimal versions
run:
cargo update -Z minimal-versions
- uses: actions-rust-lang/setup-rust-toolchain@v1
with: { toolchain: stable }
- uses: taiki-e/install-action@v2
with: { tool: cargo-nextest }
- run: cargo --locked nextest run --workspace --all-features
- run: cargo --locked test --workspace --doc --all-features
check-features:
name: cargo hack check --feature-powerset
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0b4ba70

Please sign in to comment.