From 9f6a864c1176fc47500e36c4a85ae224cc22d65b Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Mon, 16 Dec 2024 14:30:40 +0100 Subject: [PATCH] [PM-16079] Add cargo-udeps (#81) Run cargo-udeps to find unused dependencies. --- .github/workflows/lint.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e68b83ce..80288d5f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -55,6 +55,12 @@ jobs: - name: Cargo sort run: cargo sort --workspace --check + - name: Install cargo-udeps + run: cargo install cargo-udeps --version 0.1.53 --locked + + - name: Cargo udeps + run: cargo +nightly udeps --workspace --all-features + - name: Set up Node uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: