Skip to content

Commit

Permalink
Install nightly for running linter inside devcontainer
Browse files Browse the repository at this point in the history
Signed-off-by: Kotaro Inoue <[email protected]>
  • Loading branch information
musaprg committed Jul 7, 2024
1 parent aaa1590 commit 61d1535
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ COPY <<EOF /etc/docker/daemon.json
EOF

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# nightly build is required for `cargo fmt` as `rustfmt.toml` uses unstable features.
RUN rustup install nightly
RUN rustup component add rustfmt
RUN rustup component add clippy

0 comments on commit 61d1535

Please sign in to comment.