mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 20:35:09 +00:00
Add Clippy to CI
This commit is contained in:
parent
13c6a5c4b0
commit
7e0a84c36f
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ matrix:
|
||||||
script:
|
script:
|
||||||
- cargo fmt --all -- --write-mode=diff
|
- cargo fmt --all -- --write-mode=diff
|
||||||
- cargo test
|
- cargo test
|
||||||
|
- rust: nightly
|
||||||
|
before_script:
|
||||||
|
- rustup component add clippy-preview
|
||||||
|
script:
|
||||||
|
- cargo clippy
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in a new issue