From 4a19470712026258cc03e97c2c1a58695a9d7347 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 25 Jul 2023 16:58:17 +0100 Subject: [PATCH] add woodpecker config --- .woodpecker.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..98731e8 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,9 @@ +pipeline: + build: + image: rust + commands: + - rustup component add rustfmt clippy + - cargo --version + - cargo fmt --check + - cargo clippy --fix -- -Dwarnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used + - cargo test