From 5a2b42cc49641f0b7a3557a4fdb32b2e0a01918b Mon Sep 17 00:00:00 2001 From: jiaxiao zhou Date: Mon, 30 Sep 2024 21:12:51 +0000 Subject: [PATCH] .github/workflows/basic: check unused deps on 'check' job this adds a step bnjbvr/cargo-machete@main to check if there are unused dependencies in the project. Signed-off-by: jiaxiao zhou --- .github/workflows/basic.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index bb18fe39..79567513 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -59,6 +59,8 @@ jobs: echo "TARGET=${{ matrix.arch }}-unknown-linux-${{ matrix.libc }}" >> ${GITHUB_ENV} - name: Check formatting and lints run: just lint + - name: Check unused deps + uses: bnjbvr/cargo-machete@v0.7.0 tests: needs: [changes]