Merge branch 'clippy_ci' into 'master'

Add linting checks to CI

See merge request famedly/conduit!76
This commit is contained in:
Timo Kösters 2021-05-12 18:44:41 +00:00
commit f3e6311680

View file

@ -6,8 +6,11 @@ variables:
before_script:
- apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential libssl-dev pkg-config
- rustup component add clippy rustfmt
test:cargo:
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo test --workspace --verbose --locked
- cargo fmt --all -- --check
- cargo clippy