Add Woodpeck CI config #5
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
|
Loading…
Reference in a new issue