Skip to content

Commit

Permalink
Properly test -Zminimal-versions (gfx-rs#2429)
Browse files Browse the repository at this point in the history
* Properly test `-Zminimal-versions`

* Fix minimal version requirement
  • Loading branch information
daxpedda authored Aug 11, 2023
1 parent 061d499 commit 24afaa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
tool: cargo-hack

# -Z avoid-dev-deps doesn't work
- run: cargo +nightly hack generate-lockfile --remove-dev-deps -Z minimal-versions --offline
- run: cargo +nightly hack generate-lockfile --remove-dev-deps -Z minimal-versions

- name: Test all features
run: cargo +$MSRV clippy --all-features --workspace -- -D warnings
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ name = "criterion"
harness = false

[dependencies]
arbitrary = { version = "1.0.2", features = ["derive"], optional = true }
bitflags = "2"
arbitrary = { version = "1.3", features = ["derive"], optional = true }
bitflags = "2.2"
bit-set = "0.5"
termcolor = { version = "1.0.4", optional = true }
# remove termcolor dep when updating to the next version of codespan-reporting
Expand Down

0 comments on commit 24afaa5

Please sign in to comment.