Add workflow for cargo-udeps

This commit is contained in:
Ajeet D'Souza 2020-10-02 00:56:20 +05:30
parent dfcb08bad4
commit a112225ece

21
.github/workflows/cargo-udeps.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: cargo-udeps
on:
push:
pull_request:
jobs:
udeps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: actions-rs/install@v0.1
with:
crate: cargo-udeps
version: latest
- run: cargo udeps --all-features --all-targets --workspace