ci: add basic cargo ci
Some checks failed
ci/woodpecker/manual/cargo-checks Pipeline failed

This commit is contained in:
notohh 2024-02-25 10:54:02 -05:00
parent 10d739db4f
commit 38a5e7e520
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 15 additions and 1 deletions

View 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

View file

@ -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