Add clippy in rustfmt job
diff --git a/.github/workflows/bindgen.yml b/.github/workflows/bindgen.yml
index 11379aa..bc525ed 100644
--- a/.github/workflows/bindgen.yml
+++ b/.github/workflows/bindgen.yml
@@ -23,7 +23,7 @@
# features.
toolchain: nightly
override: true
- components: rustfmt
+ components: rustfmt, clippy
- name: Run rustfmt
uses: actions-rs/cargo@v1
@@ -31,6 +31,11 @@
command: fmt
args: -- --check
+ - name: Run clippy
+ uses: actions-rs/cargo@v1
+ with:
+ command: clippy
+
msrv:
runs-on: ubuntu-latest
steps: