Add clippy in rustfmt job
@@ -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:
