chore: add lint

This commit is contained in:
lencx
2023-01-22 14:48:01 +08:00
parent 1d7bb3e051
commit c508633262

View File

@@ -1,14 +0,0 @@
on: push
name: Clippy check
# 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