From 56fb18bf094df7b3c702ef751a49067feffa293b Mon Sep 17 00:00:00 2001 From: greged93 <82421016+greged93@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:48:13 +0200 Subject: [PATCH] ci: dev udeps (#10855) --- .github/workflows/lint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0eef396640..748d66a1a5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -127,6 +127,20 @@ jobs: components: rustfmt - run: cargo fmt --all --check + udeps: + name: udeps + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@nightly + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: true + - uses: cargo-bins/cargo-binstall@main + - run: cargo binstall cargo-udeps --no-confirm + - run: cargo udeps --workspace --lib --examples --tests --benches --all-features --locked + book: name: book runs-on: ubuntu-latest @@ -203,6 +217,7 @@ jobs: - crate-checks - docs - fmt + - udeps - book - codespell - grafana