-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: always run cargo
with --locked
#3547
Comments
Good idea! Maybe there is an env variable we can set? |
mxinden
added a commit
to mxinden/rust-libp2p
that referenced
this issue
Mar 7, 2023
> Since libp2p#3399 we are tracking the `Cargo.lock` file via version control. Currently CI does not fail when the checked in `Cargo.lock` is not up-to-date. libp2p#3547
#3562 does the change as a flag. I could not figure out how to do the same with an environment variable. @thomaseizinger let me know if this works for you. |
4 tasks
Closing here in favor of #3587 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Since #3399 we are tracking the
Cargo.lock
file via version control. Currently CI does not fail when the checked inCargo.lock
is not up-to-date.Possible Solution
Replace all
cargo XXX
withcargo --locked XXX
.Can you think of a simpler solution @thomaseizinger?
Would you like to work on fixing this bug?
Yes
The text was updated successfully, but these errors were encountered: