1
0
mirror of https://github.com/containers/youki synced 2024-11-22 08:51:59 +01:00

.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 <duibao55328@gmail.com>
This commit is contained in:
jiaxiao zhou 2024-09-30 21:12:51 +00:00
parent 3aa41cf5fd
commit 5a2b42cc49
No known key found for this signature in database
GPG Key ID: E86EEC1CB94D6D32

@ -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]