From fd81b6426266319248ee5f01164296947f1247f1 Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Sat, 13 May 2023 13:10:24 +0200 Subject: [PATCH] fix(ci): add clippy and rustfmt --- .woodpecker/clippy.yml | 1 + .woodpecker/lint.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.woodpecker/clippy.yml b/.woodpecker/clippy.yml index c100904..92851e5 100644 --- a/.woodpecker/clippy.yml +++ b/.woodpecker/clippy.yml @@ -7,4 +7,5 @@ pipeline: clippy: image: 'rust:1.69' commands: + - rustup component add clippy - cargo clippy -- --no-deps -Dwarnings diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 01065f8..ad2b612 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -7,4 +7,5 @@ pipeline: lint: image: 'rust:1.69' commands: + - rustup component add rustfmt - cargo fmt -- --check