Add github actions workflow for unused deps (#7681)

Signed-off-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
This commit is contained in:
Rodolfo Olivieri
2026-03-12 09:51:50 -03:00
committed by GitHub
parent f65530bce5
commit f16fe88f2d
10 changed files with 541 additions and 922 deletions
+24
View File
@@ -0,0 +1,24 @@
name: "Unused Dependencies"
on:
push:
paths:
- '.github/workflows/cargo-machete.yml'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '**/*.rs'
pull_request:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- '**/*.rs'
workflow_dispatch:
jobs:
machete:
runs-on: ubuntu-latest
if: github.repository == 'block/goose'
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: bnjbvr/cargo-machete@7959c845782fed02ee69303126d4a12d64f1db18 # v0.9.1