From b85f723dd1c960f041e83620265963579da3362a Mon Sep 17 00:00:00 2001 From: "Christopher L. Crutchfield" Date: Sat, 30 Nov 2024 16:06:06 -0800 Subject: [PATCH] fix: try sourcing cargo env again but different --- .github/workflows/Dockerfile.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Dockerfile.build b/.github/workflows/Dockerfile.build index 146bf06..883a354 100644 --- a/.github/workflows/Dockerfile.build +++ b/.github/workflows/Dockerfile.build @@ -7,5 +7,6 @@ RUN apt-get update && \ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y -RUN PATH="/root/.cargo/bin:${PATH}" cargo test --verbose -RUN PATH="/root/.cargo/bin:${PATH}" cargo build --verbose --release \ No newline at end of file +RUN . $HOME/.cargo/env && \ + cargo test --verbose && \ + cargo build --verbose --release \ No newline at end of file