This repository has been archived by the owner on Dec 22, 2023. It is now read-only.
⬆️ Update actions/checkout action to v4 #66
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: | |
- main | |
tags-ignore: | |
- '**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
name: ❓ Unused dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: ✨ Set up the toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
profile: minimal | |
override: true | |
- name: 📥 Checkout | |
uses: actions/checkout@v4 | |
- name: ⚡️ Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: ✨ Install udeps | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-udeps | |
- name: ❓ Udeps | |
uses: actions-rs/cargo@v1 | |
with: | |
command: udeps |