This commit is contained in:
parent
796a34a34c
commit
b978bd2061
1 changed files with 19 additions and 0 deletions
19
.woodpecker.yml
Normal file
19
.woodpecker.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
steps:
|
||||
build:
|
||||
when:
|
||||
- event: cron
|
||||
- event: push
|
||||
branch: main
|
||||
- event: pull_request
|
||||
image: docker.io/rust:latest
|
||||
commands:
|
||||
- cargo build
|
||||
test:
|
||||
when:
|
||||
- event: cron
|
||||
- event: push
|
||||
branch: main
|
||||
- event: pull_request
|
||||
image: docker.io/rust:latest
|
||||
commands:
|
||||
- cargo test
|
Reference in a new issue