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