Use --locked for pre-build step of Dockerfile#104
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #104 +/- ##
=======================================
Coverage 49.27% 49.27%
=======================================
Files 13 13
Lines 621 621
=======================================
Hits 306 306
Misses 315 315 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Ensures that the versions of dependencies used in the final build are the same as those cached by the previous build.
73d2c46 to
f436833
Compare
There was a problem hiding this comment.
This is will have no impact.
Here is my reasoning behind it.
-
Copy command is not cached so the
Cargo.tomlandCargo.lockwill always be the latest changes. -
When both the cargo builds are ran they have the same files.
-
--lockedonly Assert thatCargo.lockwill remain unchanged
Which I think does not happen between those two cargo builds
Is there something obvious that I have missed ?
|
You might be right but then I think the I was mixing up the behaviour of
|
Ensures that the versions of dependencies used in the final build are
the same as those cached by the previous build.