podal/.woodpecker.yml
Paul Campbell a25d16efe2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
only run ci on PR and push to main
2023-07-28 19:32:45 +01:00

14 lines
375 B
YAML

pipeline:
build:
image: rust
when:
- event: pull_request
repo: kemitix/podal
- event: push
branch: main
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