Verified Commit 5852c2a1 authored by Orhun Parmaksız's avatar Orhun Parmaksız
Browse files

ci: run clippy

parent 5cff7d36
Pipeline #15025 failed with stages
in 2 minutes and 46 seconds
......@@ -2,6 +2,7 @@ image: "rust:latest"
stages:
- test
- lint
variables:
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
......@@ -19,3 +20,10 @@ test:
script:
- cargo build --release --locked
- cargo test --release --locked
lint:
stage: lint
before_script:
- rustup component add clippy
script:
- cargo clippy --all -- -D warnings
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