Manages Cargo.lock file updates and resolves --locked flag issues in CI/CD. Triggers when user mentions: - "cargo test --locked failed" - "cannot update the lock file" - "Cargo.lock is out of date" - "PR failed with --locked error" - "fix Cargo.lock"
cd packages/desktop/src-tauri
cargo check --locked 2>&1 | head -20
cd packages/desktop/src-tauri
cargo update --workspace
cd packages/desktop/src-tauri
cargo test --locked
--lockedcargo update without --workspace may not update all workspace members.cd packages/desktop/src-tauri
cargo update --workspace
git add Cargo.lock
git commit -m "chore: update Cargo.lock"
git push
cargo test --manifest-path packages/desktop/src-tauri/Cargo.toml --offline
No setup required. This skill assumes:
packages/desktop/src-tauri/cargo check or cargo build after modifying Cargo.toml filesCargo.lock changes in the same commit as dependency updatesConverted and distributed by TomeVault | Claim this content