-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkalot.yaml
34 lines (29 loc) · 941 Bytes
/
checkalot.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
checks:
- type: version
version: ">=0.1.6"
- type: command
name: group-imports
command: cargo group-imports
version: ">=0.1.3"
version_command: cargo group-imports --version
fix_command: cargo group-imports --fix
- type: command
name: machete
command: cargo-machete .
fix_command:
command: cargo-machete . --fix
success_statuses:
- 0
- 1
- type: command
name: fmt
command: cargo fmt --all -- --check
fix_command: cargo fmt --all
- type: command
name: clippy
command: cargo clippy --color always --release --workspace --no-deps --benches --tests --all-features -- -D warnings
fix_command: cargo clippy --color always --release --workspace --no-deps --benches --tests --all-features --fix --allow-dirty --allow-staged -- -D warnings
- type: command
name: typos
command: typos src README.md
fix_command: typos -w src README.md