Create cargo-clippy-check.yml
This commit is contained in:
parent
0b5842c6eb
commit
a72037e6d1
1 changed files with 14 additions and 0 deletions
14
.github/workflows/cargo-clippy-check.yml
vendored
Normal file
14
.github/workflows/cargo-clippy-check.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
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@v4
|
||||
- name: Run Clippy
|
||||
run: cargo clippy --all-targets --all-features
|
Loading…
Reference in a new issue