From 3126f812004cebe67799d0177df82b55fd1554d6 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Sat, 13 May 2023 10:12:25 +0200 Subject: [PATCH] chore: add ci config --- .woodpecker/build.yml | 10 ++++++++++ .woodpecker/clippy.yml | 10 ++++++++++ .woodpecker/lint.yml | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 .woodpecker/build.yml create mode 100644 .woodpecker/clippy.yml create mode 100644 .woodpecker/lint.yml diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml new file mode 100644 index 0000000..f792be9 --- /dev/null +++ b/.woodpecker/build.yml @@ -0,0 +1,10 @@ +platform: 'linux/amd64' + +branches: + exclude: [main] + +pipeline: + build: + image: 'rust:1.69' + commands: + - cargo build diff --git a/.woodpecker/clippy.yml b/.woodpecker/clippy.yml new file mode 100644 index 0000000..c100904 --- /dev/null +++ b/.woodpecker/clippy.yml @@ -0,0 +1,10 @@ +platform: 'linux/amd64' + +branches: + exclude: [main] + +pipeline: + clippy: + image: 'rust:1.69' + commands: + - cargo clippy -- --no-deps -Dwarnings diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml new file mode 100644 index 0000000..01065f8 --- /dev/null +++ b/.woodpecker/lint.yml @@ -0,0 +1,10 @@ +platform: 'linux/amd64' + +branches: + exclude: [main] + +pipeline: + lint: + image: 'rust:1.69' + commands: + - cargo fmt -- --check