diff --git a/.github/workflows/cargo-clippy-check.yml b/.github/workflows/cargo-clippy-check.yml new file mode 100644 index 0000000..e79c7a2 --- /dev/null +++ b/.github/workflows/cargo-clippy-check.yml @@ -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