only run ci on PR and push to main
This commit is contained in:
parent
f29cab85a1
commit
a25d16efe2
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue