This commit is contained in:
parent
10d739db4f
commit
38a5e7e520
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}
|
owner: ${CI_REPO_OWNER}
|
||||||
repo: ${CI_REPO_NAME}
|
repo: ${CI_REPO_NAME}
|
||||||
branch: flake-lock-update
|
branch: flake-lock-update
|
||||||
base_branch: master
|
base_branch: main
|
||||||
pr_title: "flake.lock: update"
|
pr_title: "flake.lock: update"
|
||||||
pr_body: PR automatically created by Woodpecker CI
|
pr_body: PR automatically created by Woodpecker CI
|
||||||
close_pr_if_empty: true
|
close_pr_if_empty: true
|
||||||
|
|
Loading…
Reference in a new issue