~jplatte/turbo.fish

ref: 5024ac67b40bc00871ecf875487a79eac1e0f90c turbo.fish/.build.yml -rw-r--r-- 528 bytes
5024ac67 — Jonas Platte Add .build.yml 1 year, 2 months ago
                                                                                
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