Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
chore(ci): add cargo-udeps scan to PR CI
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Coyle committed Nov 23, 2020
1 parent e8c7d03 commit 52d146c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,24 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

cargo-udeps:
name: Unused dependency check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Install Rust and required components
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true

# Install and run cargo udeps to find unused cargo dependencies
- name: cargo-udeps duplicate dependency check
run: |
cargo install cargo-udeps --locked
cargo +nightly udeps --all-targets
tests:
name: Test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 52d146c

Please sign in to comment.