~janbaudisch/epistula

ref: 6f1e423b618e64ca10741b70712b315fda9e595a epistula/.builds/lint.yml -rw-r--r-- 487 bytes
6f1e423bJan Baudisch builds: use archlinux 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: archlinux
package:
  - alpine-sdk
  - curl
sources:
  - https://git.sr.ht/~janbaudisch/epistula
tasks:
  - setup: |
      curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
      . $HOME/.cargo/env
      rustup component add rustfmt
      rustup component add clippy
  - format: |
      . $HOME/.cargo/env
      cd epistula
      cargo fmt --all -- --check
  - lint: |
      . $HOME/.cargo/env
      cd epistula
      cargo clippy --all -- --deny clippy::all