Commit 70477825 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui
Browse files

CI: run clippy

parent 329d4565
Pipeline #217678 failed with stage
in 21 minutes and 30 seconds
...@@ -22,7 +22,16 @@ rustfmt: ...@@ -22,7 +22,16 @@ rustfmt:
# so rustfmt does not yell about non-existent files or completely empty files # so rustfmt does not yell about non-existent files or completely empty files
- echo -e "" >> src/config.rs - echo -e "" >> src/config.rs
- echo -e "" >> src/static_resources.rs - echo -e "" >> src/static_resources.rs
- rustc -Vv && cargo -Vv - rustc --version && cargo --version
- cargo fmt --version - cargo fmt --version
- cargo fmt --all -- --color=always --check - cargo fmt --all -- --color=always --check
clippy:
image: rust:latest
before_script:
- rustup component add clippy
script:
- rustc --version && cargo --version
- cargo clippy --all-targets --all-features
Supports Markdown
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