💚 Fixing the workflows #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ❓ Unused dependencies | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
tags-ignore: | |
- '**' | |
pull_request: | |
branches: | |
- master | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: ❓ Unused dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: ✨ Set up the toolchain | |
uses: dtolnay/rust-toolchain@nightly | |
- name: ✨ Set up B(inary)Install | |
uses: cargo-bins/cargo-binstall@main | |
- name: ✨ Install udeps | |
run: cargo binstall --no-confirm cargo-udeps | |
- name: 📥 Checkout | |
uses: actions/checkout@v4 | |
- name: ⚡️ Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: ❓ Udeps | |
run: cargo udeps |