Skip to content

Commit

Permalink
ci: fix clippy checks in CI (intgr#72)
Browse files Browse the repository at this point in the history
I'm not sure how this worked before, but `clippy` and `rustfmt` aren't
included in Rust's official Docker images. I guess the `nightly` image
was different/special somehow, but since stopped working.
  • Loading branch information
intgr committed Apr 9, 2024
1 parent 7d8614e commit 4f9f31d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions varia/Dockerfile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ WORKDIR /root/build
# Make warnings fatal
ENV RUSTFLAGS="-D warnings"

RUN rustup component add rustfmt clippy

# Build Cargo dependencies for cache
COPY Cargo.toml ./
RUN mkdir src/ && \
Expand Down

0 comments on commit 4f9f31d

Please sign in to comment.