Merge pull request #784 from filnet/circleci_clippy
circleci: add clippy job
This commit is contained in:
commit
883e630dd5
|
@ -20,6 +20,16 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: check formatting
|
name: check formatting
|
||||||
command: cargo fmt -- --check
|
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:
|
build-native:
|
||||||
executor: rust-executor
|
executor: rust-executor
|
||||||
steps:
|
steps:
|
||||||
|
@ -91,6 +101,7 @@ workflows:
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- check-fmt
|
- check-fmt
|
||||||
|
- clippy
|
||||||
- build-native:
|
- build-native:
|
||||||
requires:
|
requires:
|
||||||
- check-fmt
|
- check-fmt
|
||||||
|
|
Loading…
Reference in New Issue