feat: upgrade rust to nightly
This commit is contained in:
parent
b04192bc18
commit
fb97f44e61
@ -5,14 +5,17 @@ LABEL "com.github.actions.description"="'Silverbullet' for a quickstart Rust CI
|
|||||||
LABEL "com.github.actions.icon"="play-circle"
|
LABEL "com.github.actions.icon"="play-circle"
|
||||||
LABEL "com.github.actions.color"="gray-dark"
|
LABEL "com.github.actions.color"="gray-dark"
|
||||||
|
|
||||||
|
RUN rustup install nightly
|
||||||
RUN rustup component add clippy-preview
|
RUN rustup component add clippy-preview
|
||||||
RUN rustup component add rustfmt-preview
|
RUN rustup component add rustfmt-preview
|
||||||
|
|
||||||
RUN cargo install cargo-release
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
cmake \
|
cmake \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN cargo --version
|
||||||
|
RUN rustc --version
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user