diff --git a/.builds/rustfmt.yml b/.builds/rustfmt.yml index fe863e47..52836217 100644 --- a/.builds/rustfmt.yml +++ b/.builds/rustfmt.yml @@ -3,8 +3,8 @@ sources: - https://github.com/alacritty/alacritty tasks: - rustup: | - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --profile minimal - $HOME/.cargo/bin/rustup component add rustfmt + curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain none + $HOME/.cargo/bin/rustup toolchain install nightly -c rustfmt - rustfmt: | cd alacritty $HOME/.cargo/bin/cargo fmt -- --check