Merge branch 'clippy_ci' into 'master'
Add linting checks to CI See merge request famedly/conduit!76next
commit
f3e6311680
|
@ -6,8 +6,11 @@ variables:
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq --no-install-recommends build-essential libssl-dev pkg-config
|
- apt-get install -yqq --no-install-recommends build-essential libssl-dev pkg-config
|
||||||
|
- rustup component add clippy rustfmt
|
||||||
|
|
||||||
test:cargo:
|
test:cargo:
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version # Print version info for debugging
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
- cargo test --workspace --verbose --locked
|
- cargo test --workspace --verbose --locked
|
||||||
|
- cargo fmt --all -- --check
|
||||||
|
- cargo clippy
|
||||||
|
|
Loading…
Reference in New Issue