You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Cargo `--locked` argument ensures that Cargo will fail with
an error if `Cargo.lock` is out of sync with `Cargo.toml`, rather
than the lockfile being silently updated.
As such, in CI we should always be using `--locked` for projects
that have committed their lockfile to Git (which should be the
case for most projects other than those that are libraries).
After seeing that `cnb-otel-collector` didn't use `--locked` in
all cases, I audited all of our Rust repos and found others
missing `--locked` too.
GUS-W-18062544.
0 commit comments