Skip to content

Commit

Permalink
Merge pull request #249 from g2p/min-versions
Browse files Browse the repository at this point in the history
Fix a minimum-versions issue
  • Loading branch information
NobodyXu authored Oct 4, 2023
2 parents ece5584 + f396957 commit 2fa53e2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ deflate64 = ["dep:deflate64"]
[dependencies]
brotli = { version = "3.3", optional = true, default-features = false, features = ["std"] }
bzip2 = { version = "0.4.4", optional = true }
flate2 = { version = "1.0.11", optional = true }
flate2 = { version = "1.0.13", optional = true }
futures-core = { version = "0.3", default-features = false }
futures-io = { version = "0.3", default-features = false, features = ["std"], optional = true }
libzstd = { package = "zstd", version = "0.12", optional = true, default-features = false }
Expand Down

0 comments on commit 2fa53e2

Please sign in to comment.