From d5706b0fab11d6aee18fa0fddcde162dac432a5f Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 10 Oct 2024 12:25:11 +0200 Subject: [PATCH] ci: detect unused dependencies with `cargo-machete` --- .github/workflows/detect-unused-dependencies.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/detect-unused-dependencies.yml diff --git a/.github/workflows/detect-unused-dependencies.yml b/.github/workflows/detect-unused-dependencies.yml new file mode 100644 index 00000000000..d7a7f520300 --- /dev/null +++ b/.github/workflows/detect-unused-dependencies.yml @@ -0,0 +1,12 @@ +name: Detects unused dependencies +on: + pull_request: { branches: "*" } + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Machete + uses: bnjbvr/cargo-machete@main