Commit d12fabd 1 parent b9117b3 commit d12fabd Copy full SHA for d12fabd
File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,31 @@ jobs:
122
122
- name : Run cargo clippy
123
123
run : just lint
124
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
+
125
150
coverage :
126
151
name : Coverage
127
152
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments