Merge pull request #784 from filnet/circleci_clippy

circleci: add clippy job
This commit is contained in:
Sébastien Crozet 2020-11-10 12:54:56 +01:00 committed by GitHub
commit 883e630dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

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