From c78b4faacd8b375211cd2d8893eff63ccf020d1a Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Fri, 31 Mar 2023 21:52:16 +0200 Subject: [PATCH] chore: add ci workflow --- .woodpecker.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..217ef88 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,10 @@ +pipeline: + test: + image: rust:latest + environment: + - CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse + commands: + - rustup component add rustfmt clippy + - cargo fmt --all --check + - cargo clippy --all --all-features -- -D warnings + - cargo test --workspace