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:
parent
3aa41cf5fd
commit
5a2b42cc49
2
.github/workflows/basic.yml
vendored
2
.github/workflows/basic.yml
vendored
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user