From 3657717a1462de82d732ddaeb085e60950825c5e Mon Sep 17 00:00:00 2001 From: Jorik Cronenberg Date: Wed, 18 Oct 2023 13:18:59 +0200 Subject: [PATCH] Add clippy to rust ci --- .github/workflows/migrate-wicked-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/migrate-wicked-ci.yml b/.github/workflows/migrate-wicked-ci.yml index e0fdfca314..3ece9a0bdd 100644 --- a/.github/workflows/migrate-wicked-ci.yml +++ b/.github/workflows/migrate-wicked-ci.yml @@ -21,7 +21,11 @@ jobs: uses: actions/checkout@v3 - name: Build run: cargo build --verbose - - name: Run tests + - name: Unit tests run: cargo test --verbose - - name: Run lint tests + - name: Lint tests run: cargo fmt --all -- --check + - name: Cargo clippy + run: cargo clippy -p agama-migrate-wicked -- --no-deps -D warnings + - name: Cargo clippy on unit tests + run: cargo clippy -p agama-migrate-wicked -- --no-deps --cfg test -A unused_imports -D warnings