Commit 47fb4a29 authored by Orhun Parmaksız's avatar Orhun Parmaksız Committed by Orhun Parmaksız
Browse files

ci: run clippy

parent bffedc07
Pipeline #15212 failed with stages
in 2 minutes and 21 seconds
...@@ -2,6 +2,7 @@ image: "rust:latest" ...@@ -2,6 +2,7 @@ image: "rust:latest"
stages: stages:
- test - test
- lint
variables: variables:
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo" CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
...@@ -19,3 +20,10 @@ test: ...@@ -19,3 +20,10 @@ test:
script: script:
- cargo build --release --locked - cargo build --release --locked
- cargo test --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