Skip to content

Commit

Permalink
add check for unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jul 13, 2021
1 parent 10b0b1a commit fd8dbf6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,22 @@ jobs:
file-types: '[".rs"]'
exclude-folders: '["./examples/ios"]'
exclude-files: '[]'

check-unused-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true

- name: Installs cargo-udeps
run: cargo install cargo-udeps

- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev

- name: Run cargo udeps
run: cargo udeps

0 comments on commit fd8dbf6

Please sign in to comment.