From 7b63ecd5526da0d9426815040a5bd45ce1035006 Mon Sep 17 00:00:00 2001 From: Cyborus Date: Tue, 12 Dec 2023 19:55:31 -0500 Subject: [PATCH] add ci --- .woodpecker/check.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .woodpecker/check.yml diff --git a/.woodpecker/check.yml b/.woodpecker/check.yml new file mode 100644 index 0000000..20508ea --- /dev/null +++ b/.woodpecker/check.yml @@ -0,0 +1,13 @@ +when: + - event: manual + - event: pull_request +steps: + check: + image: rust + commands: + - cargo check + check-fmt: + image: rust + commands: + - rustup component add rustfmt + - cargo fmt --check