Compare commits
10 commits
8ed9341673
...
1c24f7eec3
Author | SHA1 | Date | |
---|---|---|---|
1c24f7eec3 | |||
ca05de5cd5 | |||
f517307538 | |||
2901d345d6 | |||
2600ee6cc4 | |||
491722bf0f | |||
9c3318c6f6 | |||
bc9fd75853 | |||
38a5e7e520 | |||
10d739db4f |
3 changed files with 23 additions and 1 deletions
20
.woodpecker/cargo-checks.yml
Normal file
20
.woodpecker/cargo-checks.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
- path:
|
||||
include: ["*.rs"]
|
||||
|
||||
steps:
|
||||
configure_rustup:
|
||||
image: rust
|
||||
commands: |
|
||||
rustup update stable && rustup default stable
|
||||
rustup component add clippy
|
||||
cargo_clippy:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo clippy --all-targets --all-features
|
||||
cargo_test:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo test --all-features
|
|
@ -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
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
in {
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
name = "forcebot_rs-devenv";
|
||||
nativeBuildInputs = [pkgs.pkg-config];
|
||||
buildInputs = with pkgs; [openssl libiconv];
|
||||
packages = with pkgs; [
|
||||
nil
|
||||
alejandra
|
||||
|
|
Loading…
Reference in a new issue