circleci: add clippy job

This commit is contained in:
Philippe Renon 2020-10-26 12:26:49 +01:00
parent a2b128c4e4
commit 92cf00a43c

View File

@ -20,6 +20,16 @@ jobs:
- run:
name: check formatting
command: cargo fmt -- --check
clippy:
executor: rust-executor
steps:
- checkout
- run:
name: install clippy
command: rustup component add clippy
- run:
name: clippy
command: cargo clippy
build-native:
executor: rust-executor
steps:
@ -91,6 +101,7 @@ workflows:
build:
jobs:
- check-fmt
- clippy
- build-native:
requires:
- check-fmt