summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikuroXina <ryosukadnak@gmail.com>2021-10-25 22:21:12 +0900
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-10-27 19:22:15 +0200
commita311cacbdf8fd5b41b444f639ecf21219d479aca (patch)
tree5d8a28ba3bfbd1740cc49e6220f6d349a5d42eaa
parent1e6db4c30689636e31a8bca2817c2edd53991ff8 (diff)
Add clippy in rustfmt job
-rw-r--r--.github/workflows/bindgen.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/bindgen.yml b/.github/workflows/bindgen.yml
index 11379aa7..bc525ed6 100644
--- a/.github/workflows/bindgen.yml
+++ b/.github/workflows/bindgen.yml
@@ -23,7 +23,7 @@ jobs:
# features.
toolchain: nightly
override: true
- components: rustfmt
+ components: rustfmt, clippy
- name: Run rustfmt
uses: actions-rs/cargo@v1
@@ -31,6 +31,11 @@ jobs:
command: fmt
args: -- --check
+ - name: Run clippy
+ uses: actions-rs/cargo@v1
+ with:
+ command: clippy
+
msrv:
runs-on: ubuntu-latest
steps: