podal/.woodpecker.yml

15 lines
374 B
YAML

when:
- event: pull_request
repo: kemitix/podal
- event: push
branch: main
steps:
build:
image: rust:latest
pull: true
commands:
- rustup component add rustfmt clippy
- cargo --version
- cargo fmt --check
- cargo clippy --fix -- -Dwarnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used
- cargo test