Merge pull request 'init-ci (2/2)' (#14) from init-cli-p2 into main

Reviewed-on: #14
This commit is contained in:
notohh 2024-02-25 12:13:34 -05:00
commit 1c24f7eec3
3 changed files with 23 additions and 1 deletions

View 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

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

View file

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