Skip to content

Commit 78e79f8

Browse files
authored
Merge pull request #155 from cipherstash/test/check-cargo-lock-is-unchanged
test: check that `Cargo.lock` is up to date
2 parents 2f5c891 + f328bb6 commit 78e79f8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

mise.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,14 @@ description = "Runs cargo fmt"
351351
run = 'cargo fmt --all -- --check'
352352

353353
[tasks."test:check"]
354-
description = "Runs cargo check"
355-
run = 'cargo check'
354+
description = "Runs cargo check to check types and dependencies"
355+
run = """
356+
# Assert that `Cargo.lock` will remain unchanged
357+
cargo check --locked
358+
359+
# Check types of packages and dependencies"
360+
cargo check
361+
"""
356362

357363
[tasks."test:clippy"]
358364
description = "Runs clippy"

0 commit comments

Comments
 (0)