Skip to content

Commit 5b629e2

Browse files
lefthook config
1 parent dcedeb5 commit 5b629e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lefthook.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ pre-commit:
22
piped: true
33
commands:
44
fmt:
5+
priority: 1
56
run: cargo fmt --all -- --check
67
clippy:
8+
priority: 2
79
run: cargo clippy --all-targets --all-features -- -D warnings
810
build:
11+
priority: 3
912
run: cargo build --verbose
1013
test:
14+
priority: 4
1115
run: timeout 120 cargo test --verbose
1216
build-c-api:
17+
priority: 5
1318
run: cargo build --features c-api

0 commit comments

Comments
 (0)