mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-01 04:20:39 +00:00
Lock cargo dependencies during CI builds
This commit is contained in:
committed by
Kirill Bulatov
parent
a5ca6a9d2b
commit
a56ae15edf
@@ -40,7 +40,7 @@ COPY . .
|
||||
# Show build caching stats to check if it was used in the end.
|
||||
# Has to be the part of the same RUN since cachepot daemon is killed in the end of this RUN, losing the compilation stats.
|
||||
RUN set -e \
|
||||
&& mold -run cargo build --release \
|
||||
&& mold -run cargo build --locked --release \
|
||||
&& cachepot -s
|
||||
|
||||
# Build final image
|
||||
|
||||
Reference in New Issue
Block a user