Skip to content

Commit a87c272

Browse files
committed
chore: add cargo-machete workflow
Add cargo-machete CI workflow to detect unused Rust dependencies. Co-authored-by: Codex <noreply@openai.com>
1 parent 74ada6a commit a87c272

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Cargo Machete
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 3 * * 1"
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
detect-unused-dependencies:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: taiki-e/install-action@v2
20+
with:
21+
tool: cargo-machete
22+
23+
- name: Run cargo machete
24+
run: cargo machete .

0 commit comments

Comments
 (0)