We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9117b3 commit d12fabdCopy full SHA for d12fabd
.github/workflows/rust-ci.yaml
@@ -122,6 +122,31 @@ jobs:
122
- name: Run cargo clippy
123
run: just lint
124
125
+ shear:
126
+ name: Check for unused dependencies
127
+ runs-on: ubuntu-latest
128
+ strategy:
129
+ matrix:
130
+ rust:
131
+ - stable
132
+ steps:
133
+ - name: Checkout sources
134
+ uses: actions/checkout@v4
135
+
136
+ - name: Install toolchain
137
+ uses: dtolnay/rust-toolchain@stable
138
+ with:
139
+ toolchain: ${{ matrix.rust }}
140
141
+ - name: Install cargo-binstall
142
+ uses: cargo-bins/cargo-binstall@main
143
144
+ - name: Install cargo-shear
145
+ run: cargo binstall --no-confirm cargo-shear
146
147
+ - name: Run cargo shear
148
+ run: cargo shear
149
150
coverage:
151
name: Coverage
152
runs-on: ubuntu-latest
0 commit comments