mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +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:
|
||||
- cargo fmt --all -- --write-mode=diff
|
||||
- cargo test
|
||||
- rust: nightly
|
||||
before_script:
|
||||
- rustup component add clippy-preview
|
||||
script:
|
||||
- cargo clippy
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
|
Loading…
Reference in a new issue