From 4658fdb81869391b22ba1ec3b6558ca14ae699ae Mon Sep 17 00:00:00 2001 From: Jakub Arnold Date: Sat, 21 Oct 2023 00:15:11 +0200 Subject: [PATCH] Add machete --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18eb9a1..8ac1378 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,3 +103,17 @@ jobs: run: cargo doc --no-deps --features wayland env: RUSTDOCFLAGS: -Dwarnings + + cargo-machete: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: "Install cargo-machete" + uses: baptiste0928/cargo-install@v2 + with: + crate: cargo-machete + version: "0.6.0" + + - name: "Use machete to cut down dependencies" + run: cargo machete