Skip to content

Commit f828467

Browse files
committed
pin cargo-audit and rustfmt
1 parent 88e068b commit f828467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ ARG TARGETARCH
3636

3737
# Validations
3838
# Validate formatting
39-
RUN if [ $TARGETARCH = "amd64" ]; then rustup component add rustfmt && cargo fmt --check ; fi
39+
RUN if [ $TARGETARCH = "amd64" ]; then rustup component add rustfmt --toolchain 1.87 && cargo fmt --check ; fi
4040

4141
# Audit dependencies
42-
RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit && cargo audit ; fi
42+
RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit@0.20.0 && cargo audit ; fi
4343

4444

4545
# Cross-compile based on the target platform.

0 commit comments

Comments
 (0)