Skip to content

Commit ce67ef8

Browse files
authored
deps: remove unused deps, install cargo-shear action (#823)
## πŸ“ Summary - Removes unused dependencies - Install cargo-shear in CI to detect them in the future ## βœ… I have completed the following steps: * [x] Run `make lint` * [x] Run `make test` * [x] Added tests (if applicable)
1 parent 6b574bd commit ce67ef8

File tree

14 files changed

+1064
-1231
lines changed

14 files changed

+1064
-1231
lines changed

β€Ž.github/workflows/checks.yamlβ€Ž

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,20 @@ jobs:
133133
name: playground-logs
134134
path: /tmp/playground-logs
135135
retention-days: 5
136+
137+
# Find unused dependencies, this will fail if any are found.
138+
cargo-shear:
139+
runs-on: warp-ubuntu-latest-x64-32x
140+
timeout-minutes: 5
141+
steps:
142+
- name: Checkout sources
143+
uses: actions/checkout@v6
144+
145+
- name: Install cargo-binstall
146+
uses: cargo-bins/cargo-binstall@main
147+
148+
- name: Install cargo-shear
149+
run: cargo binstall --no-confirm cargo-shear
150+
151+
- name: Run cargo shear
152+
run: cargo shear

0 commit comments

Comments
Β (0)