Skip to content

Commit eb2eda4

Browse files
committed
Test cargo minimal versions on CI
With ron-rs/ron#557, we can test our lower bounds.
1 parent 0bc2c0c commit eb2eda4

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

.github/workflows/ci.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: dtolnay/rust-toolchain@stable
19-
- run: cargo build --verbose --workspace
20-
- run: cargo test --all-features --workspace --verbose
19+
- run: cargo build --workspace
20+
- run: cargo test --all-features --workspace
2121

2222
clippy:
2323
name: No warnings from Clippy
@@ -52,3 +52,13 @@ jobs:
5252
env:
5353
RUSTDOCFLAGS: -D warnings
5454
run: cargo doc --workspace --no-deps --document-private-items
55+
56+
minimal-versions:
57+
name: Tests pass
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: dtolnay/rust-toolchain@nightly
62+
- run: cargo +nightly update -Zminimal-versions
63+
- run: cargo +nightly build --workspace
64+
- run: cargo +nightly test --all-features --workspace

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ version-ranges = { version = "0.1.0", path = "version-ranges" }
3636
criterion = { version = "2.7.2", package = "codspeed-criterion-compat" }
3737
env_logger = "0.11.6"
3838
proptest = "1.6.0"
39-
ron = "=0.9.0-alpha.0"
39+
ron = "0.9.0-alpha.1"
4040
varisat = "0.2.2"
4141
version-ranges = { version = "0.1.0", path = "version-ranges", features = ["proptest"] }
4242

version-ranges/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ serde = ["dep:serde", "smallvec/serde"]
1818

1919
[dev-dependencies]
2020
proptest = "1.6.0"
21-
ron = "=0.9.0-alpha.0"
21+
ron = "=0.9.0-alpha.1"

0 commit comments

Comments
 (0)