1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
image: archlinux
sources:
- https://github.com/jplatte/turbo.fish
packages:
- rustup
tasks:
- setup_toolchain: |
rustup toolchain install nightly
rustup default nightly
rustup component add rustfmt || true
rustup component add clippy || true
- run_checks: |
cd turbo.fish
cargo check --verbose
if ( rustup component list | grep -q rustfmt ); then cargo fmt -- --check; fi
if ( rustup component list | grep -q clippy ); then cargo clippy -- -A clippy::zero_width_space; fi