Skip to content

Commit

Permalink
fix: source cargo env before using cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Dec 1, 2024
1 parent a141b5d commit 7c410e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ RUN mkdir -p ${HOME}
WORKDIR ${HOME}

RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
RUN echo ". \"\$HOME/.cargo/env\"" >> ${HOME}/.bashrc

RUN cargo test --verbose
RUN . ${HOME}/.cargo/env && cargo test --verbose
RUN cargo build --verbose --release

0 comments on commit 7c410e3

Please sign in to comment.