From 92cf00a43c245c07f5ad54035a522a4273c827d1 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Mon, 26 Oct 2020 12:26:49 +0100 Subject: [PATCH] circleci: add clippy job --- .circleci/config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b21798d97..446e11394 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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