only run ci on PR and push to main
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Paul Campbell 2023-07-28 19:32:45 +01:00
parent f29cab85a1
commit a25d16efe2

View file

@ -1,6 +1,11 @@
pipeline:
build:
image: rust
when:
- event: pull_request
repo: kemitix/podal
- event: push
branch: main
commands:
- rustup component add rustfmt clippy
- cargo --version