From e47eccb893561381184348a605fae6fe70418963 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sun, 25 Jun 2023 21:47:18 -0700 Subject: [PATCH] add --locked to nextest --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ffd1619f..b6d41c73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \ # TODO: more mount type cache? RUN --mount=type=cache,target=/usr/local/cargo/registry \ \ - cargo install cargo-nextest + cargo install --locked cargo-nextest # foundry is needed to run tests # TODO: do this in a seperate FROM and COPY it in @@ -57,7 +57,7 @@ RUN --mount=type=bind,target=.,rw \ --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target \ \ - RUST_LOG=web3_proxy=trace,info cargo nextest run --features "$WEB3_PROXY_FEATURES" --no-default-features && \ + RUST_LOG=web3_proxy=trace,info cargo --locked nextest run --features "$WEB3_PROXY_FEATURES" --no-default-features && \ touch /test_success # TODO: does this split of build_tests and build_app actually do anything if they both mount the same cache?