Add clippy CI job

This commit is contained in:
Luis Moreno
2020-11-06 19:41:32 -04:00
parent 4efad85f8a
commit ba03ef4678
+17
View File
@@ -1,5 +1,11 @@
version: 2.1
workflows:
version: 2.1
build:
jobs:
- build
- clippy
jobs:
build:
docker:
@@ -24,3 +30,14 @@ jobs:
paths:
- "~/.cargo"
- "./target"
clippy:
docker:
- image: circleci/rust:latest
steps:
- checkout
- run:
name: Install cargo clippy
command: rustup component add clippy
- run:
name: Run cargo clippy
command: cargo clippy