20 lines
370 B
YAML
20 lines
370 B
YAML
name: Clippy check
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
|
|
# Make sure CI fails on all warnings, including Clippy lints
|
|
env:
|
|
RUSTFLAGS: "-Dwarnings"
|
|
|
|
jobs:
|
|
clippy_check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Run Clippy
|
|
run: cargo clippy --all-targets --all-features |