Skip to content

style: fix and enforce clippy linting #133

style: fix and enforce clippy linting

style: fix and enforce clippy linting #133

Workflow file for this run

on:
push:
branches: [master]
pull_request:
name: Continuous integration
jobs:
fmt:
name: format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo +nightly fmt --all --check
clippy:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- uses: actions-rs-plus/clippy-check@v2
with:
args: --all --all-features --all-targets