Skip to content

Commit

Permalink
.github/workflows/basic: check unused deps on 'check' job
Browse files Browse the repository at this point in the history
this adds a step bnjbvr/cargo-machete@main to check if there are
unused dependencies in the project.
  • Loading branch information
Mossaka committed Sep 30, 2024
1 parent 3aa41cf commit 4d0971f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 4d0971f

Please sign in to comment.