From 666b56cd3aeb65d980936ca45d1232433ce54c0c Mon Sep 17 00:00:00 2001 From: mooori Date: Tue, 18 Oct 2022 11:15:25 +0200 Subject: [PATCH] Make clippy check tests and fix warnings Adding `--all-targets` makes clippy check tests. This results in a quite a few warnings as previously tests were ignored. TODO: fix warnings --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0482d54..99f41cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,4 +50,4 @@ jobs: run: cargo fmt --all -- --check - name: cargo clippy - run: cargo clippy --all --all-features -- -D warnings + run: cargo clippy --all --all-features --all-targets -- -D warnings