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:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: rust
|
image: rust
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
repo: kemitix/podal
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
commands:
|
commands:
|
||||||
- rustup component add rustfmt clippy
|
- rustup component add rustfmt clippy
|
||||||
- cargo --version
|
- cargo --version
|
||||||
|
|
Loading…
Add table
Reference in a new issue