mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Moved rustfmt commands after build, so that it passes.
Also added clippy into CI checks, but allowing warnings to pass for now.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
FROM rust:latest
|
||||
|
||||
RUN rustup component add rustfmt
|
||||
|
||||
RUN apt-get update && apt-get install -y clang libclang-dev cmake build-essential git unzip autoconf libtool
|
||||
|
||||
RUN git clone https://github.com/google/protobuf.git && \
|
||||
@@ -17,3 +15,7 @@ RUN git clone https://github.com/google/protobuf.git && \
|
||||
|
||||
|
||||
RUN mkdir /cargocache && chmod -R ugo+rwX /cargocache
|
||||
|
||||
ENV CARGO_HOME /cargocache
|
||||
|
||||
RUN rustup component add rustfmt clippy
|
||||
|
||||
Reference in New Issue
Block a user