diff --git a/.woodpecker/cargo-checks.yml b/.woodpecker/cargo-checks.yml new file mode 100644 index 0000000..1da2adc --- /dev/null +++ b/.woodpecker/cargo-checks.yml @@ -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 diff --git a/.woodpecker/flake-update.yml b/.woodpecker/flake-update.yml index 37d88de..56c672a 100644 --- a/.woodpecker/flake-update.yml +++ b/.woodpecker/flake-update.yml @@ -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