Merge branch 'clippy_ci' into 'master'

Add linting checks to CI

See merge request famedly/conduit!76
next
Timo Kösters 2021-05-12 18:44:41 +00:00
commit f3e6311680
1 changed files with 3 additions and 0 deletions

View File

@ -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