Skip to content

Add clippy lint GitHub Actions CI (#12) #4

Add clippy lint GitHub Actions CI (#12)

Add clippy lint GitHub Actions CI (#12) #4

Workflow file for this run

name: Clippy check
on:
push:
branches: [ "main" ]
pull_request:
types: [ opened, reopened, synchronize ]
branches: [ "main" ]
# Make sure CI fails on all warnings, including Clippy lints
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy --all-targets --all-features