Skip to content

Commit

Permalink
ci: add unused deps check
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Sep 12, 2024
1 parent d552af5 commit 1e20741
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,27 @@ jobs:
- name: Run cargo clippy
run: just lint

shear:
name: Check for unused dependencies
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}

- uses: taiki-e/install-action@cargo-shear

- name: Run cargo shear
run: just lint

coverage:
name: Coverage
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1e20741

Please sign in to comment.