mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
process: ci: enable clippy checks as part of the build
This commit is contained in:
parent
f16725ea9f
commit
26faefcc34
@ -38,7 +38,12 @@ matrix:
|
||||
- cargo tarpaulin -v --forward --out Xml
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
before_script:
|
||||
- rustup component add clippy
|
||||
|
||||
script:
|
||||
- cargo clippy --all-targets --all-features
|
||||
- cargo build
|
||||
- cargo test
|
||||
|
||||
env:
|
||||
|
@ -7,9 +7,11 @@ install:
|
||||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
||||
- rustc -V
|
||||
- cargo -V
|
||||
- rustup component add clippy
|
||||
|
||||
build: false
|
||||
|
||||
test_script:
|
||||
- cargo clippy
|
||||
- cargo build --target %TARGET%
|
||||
- cargo test --target %TARGET%
|
||||
|
Loading…
x
Reference in New Issue
Block a user