Skip to content

Workflow file for this run

name: Clippy checks
on:
push:
branches:
- main
- next
pull_request:
jobs:
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy --all-targets
- name: Check if README is up to date
run: |
cargo install cargo-rdme
cargo rdme --check --no-fail-on-warnings