Skip to content

⬆️ deps: Update actions/checkout action to v5 (#176) #653

⬆️ deps: Update actions/checkout action to v5 (#176)

⬆️ deps: Update actions/checkout action to v5 (#176) #653

Workflow file for this run

name: clippy
on:
push:
branches: [main]
pull_request:
merge_group:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
run-clippy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy
- uses: actions/cache@v4
id: cargo-cache
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -q --release -- --no-deps