1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
alacritty/.builds/rustfmt.yml
Kirill Chibisov e4e0218ede Run rustfmt on sr.ht
This should provide more clear feedback whether rustfmt
job is failed or not.
2020-06-23 11:13:14 +00:00

10 lines
317 B
YAML

image: archlinux
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
- rustfmt: |
cd alacritty
$HOME/.cargo/bin/cargo fmt -- --check