Skip to content

Build CI against the committed lockfiles - #6

Open
Garfield1002 wants to merge 1 commit into
LLVMParty:masterfrom
Garfield1002:ci-locked
Open

Build CI against the committed lockfiles#6
Garfield1002 wants to merge 1 commit into
LLVMParty:masterfrom
Garfield1002:ci-locked

Conversation

@Garfield1002

Copy link
Copy Markdown
Contributor

good practice :)

No cargo invocation in either workflow passed --locked, so CI was free to
re-resolve and rewrite Cargo.lock instead of failing. A lockfile that no
longer matched the manifests still went green, and the versions CI tested
were not necessarily the ones recorded in the repository.

Pass --locked to every cargo invocation that resolves dependencies, in both
workflows. cargo fmt is left alone; it does not resolve anything.

This covers crates/qfbvsmtrs/fuzz too, which sits outside the workspace and
carries its own Cargo.lock. Both lockfiles are current: all five commands
pass with --locked as of this commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant