From 82b2034f254b0c2f2f0850ea74827c3f3047bc69 Mon Sep 17 00:00:00 2001 From: losfair Date: Wed, 20 Mar 2019 01:19:50 +0800 Subject: [PATCH] Run clippy on nightly rust. --- .circleci/config.yml | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 42c643c47..52d22736c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,8 +18,9 @@ jobs: - run: name: Install lint deps command: | + rustup toolchain install nightly rustup component add rustfmt - rustup component add clippy + rustup component add clippy --toolchain=nightly || cargo +nightly install --git https://github.com/rust-lang/rust-clippy/ --force clippy - run: name: Execute lints command: | diff --git a/Makefile b/Makefile index dbc23c772..871245de2 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ integration-tests: release lint: cargo fmt --all -- --check - # cargo clippy --all + cargo +nightly clippy --all precommit: lint test