Run clippy on nightly rust.

This commit is contained in:
losfair 2019-03-20 01:19:50 +08:00
parent f0e8f228bd
commit 82b2034f25
2 changed files with 3 additions and 2 deletions

View File

@ -18,8 +18,9 @@ jobs:
- run: - run:
name: Install lint deps name: Install lint deps
command: | command: |
rustup toolchain install nightly
rustup component add rustfmt 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: - run:
name: Execute lints name: Execute lints
command: | command: |

View File

@ -28,7 +28,7 @@ integration-tests: release
lint: lint:
cargo fmt --all -- --check cargo fmt --all -- --check
# cargo clippy --all cargo +nightly clippy --all
precommit: lint test precommit: lint test