Skip to content

Commit

Permalink
ci: Fix clippy checks in CI
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.
  • Loading branch information
intgr committed Apr 9, 2024
1 parent 7d8614e commit a2023a5
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 a2023a5

Please sign in to comment.