podal/.woodpecker.yml
Paul Campbell fd24f08428
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
woodpeckerci: revert when to build step
2023-07-28 19:48:37 +01:00

15 lines
394 B
YAML

steps:
build:
image: rust:latest
pull: true
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