summaryrefslogtreecommitdiffstats
path: root/.builds/rustfmt.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/rustfmt.yml')
-rw-r--r--.builds/rustfmt.yml4
1 files changed, 2 insertions, 2 deletions
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