init-ci (2/2) #14
2 changed files with 15 additions and 1 deletions
14
.woodpecker/cargo-checks.yml
Normal file
14
.woodpecker/cargo-checks.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
- path: "src/*"
|
||||
|
||||
steps:
|
||||
cargo_clippy:
|
||||
image: rustlang/rust
|
||||
commands:
|
||||
- cargo clippy
|
||||
cargo_test:
|
||||
image: rustlang/rust
|
||||
commands:
|
||||
- cargo test
|
|
@ -37,7 +37,7 @@ steps:
|
|||
owner: ${CI_REPO_OWNER}
|
||||
repo: ${CI_REPO_NAME}
|
||||
branch: flake-lock-update
|
||||
base_branch: master
|
||||
base_branch: main
|
||||
pr_title: "flake.lock: update"
|
||||
pr_body: PR automatically created by Woodpecker CI
|
||||
close_pr_if_empty: true
|
||||
|
|
Loading…
Reference in a new issue