Commit 598119ab authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Add rustfmt check to .gitlab-ci.yml, rustfmt +nightly

parent 62562dd8
......@@ -27,7 +27,8 @@ test:
- rustc --version
- cargo --version
- cargo test --features "strict" --verbose
- cargo clippy --all-targets --all-features -- -D warnings -A clippy::redundant_field_names -A clippy::useless_format -A clippy::let_and_return -A clippy::type_complexity -A clippy::option_map_unit_fn -A clippy::too_many_arguments
- make clippy
- cargo +nightly fmt -- --check
pages:
stage: doc
......
......@@ -8,7 +8,7 @@ release:
env OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release
format:
cargo fmt
cargo +nightly fmt
clippy:
cargo clippy --all-targets --all-features -- -D warnings -A clippy::redundant_field_names -A clippy::useless_format -A clippy::let_and_return -A clippy::type_complexity -A clippy::option_map_unit_fn -A clippy::too_many_arguments
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment