Skip to content

Commit 1f8acc9

Browse files
committed
Check only lib and examples everything else will require dev-dependencies which includes criterion with msrv=1.80
1 parent 9ca9dc0 commit 1f8acc9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- uses: dtolnay/rust-toolchain@1.56.0
18-
- run: cargo check
18+
# Check only lib and examples. Do not enable benchmarks and tests because that
19+
# will enable `dev-dependencies` which contains `criterion` with msrv=1.80
20+
# See https://github.com/rust-lang/cargo/issues/10958
21+
- run: cargo check --lib --examples
1922

2023
minimal-versions:
2124
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)