Skip to content

Commit 6472149

Browse files
authored
Do not use nightly in minimal-versions check (#426)
Old versions sometimes stop working on recent nightly, which broke the check on main. Using stable rust avoids this problem in the future. Also bump codspeed for the associated cc bump, to work around CodSpeedHQ/codspeed-rust#182.
1 parent 4bfc755 commit 6472149

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ jobs:
8484

8585
- run: cargo +nightly update -Zminimal-versions
8686

87-
- run: cargo +nightly build --workspace
87+
- run: cargo build --workspace
8888

89-
- run: cargo +nightly test --all-features --workspace
89+
- run: cargo test --all-features --workspace
9090

9191
minimal-rust-version:
9292
name: Minimum Rust version

Cargo.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ thiserror = "2.0"
3535
version-ranges = { version = "0.1.0", path = "version-ranges" }
3636

3737
[dev-dependencies]
38-
criterion = { version = "4.0.1", package = "codspeed-criterion-compat" }
38+
criterion = { version = "4.7.0", package = "codspeed-criterion-compat" }
3939
env_logger = "0.11.6"
40+
# Lower-bound guard for `codspeed-criterion-compat` in the minimal-versions CI job.
41+
cc = "1.2.40"
4042
proptest = "1.6.0"
4143
ron = "0.12.0"
4244
varisat = "0.2.2"

0 commit comments

Comments
 (0)