Skip to content

Commit

Permalink
chore(ci): check unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Oct 3, 2023
1 parent da3fc76 commit aea2d60
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- ffi-header
- doc
- check-external-types
- udeps
steps:
- run: exit 0

Expand Down Expand Up @@ -232,3 +233,22 @@ jobs:

- name: check-external-types
run: cargo check-external-types --config .github/workflows/external-types.toml

udeps:
needs: [style]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@nightly

- name: Install cargo-udeps
uses: taiki-e/install-action@cargo-udeps

- name: Check unused dependencies on default features
run: cargo udeps

- name: Check unused dependencies on full features
run: cargo udeps --features full

0 comments on commit aea2d60

Please sign in to comment.