blob: 8899132c75ee716f13ec515af231d69a73bb91ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
pre-commit:
parallel: true
commands:
hadolint:
glob: "**/*Dockerfile"
run: hadolint {staged_files}
woodpecker:
glob: ".woodpecker/*.{yml,yaml}"
run: woodpecker lint {staged_files}
yamllint:
glob: "**/*.{yml,yaml}"
run: yamllint {staged_files}
fmt:
run: cargo fmt --all -- --check
stage_fixed: true
# clippy:
# run: cargo clippy --all-targets --all-features -- -D warnings
test:
run: cargo test --all
|