Skip to content
Snippets Groups Projects
Verified Commit f6530985 authored by Louis's avatar Louis :fire:
Browse files

Add fmt & Clippy to lint script

parent 96396dd2
No related merge requests found
Pipeline #625 failed with stage
in 17 seconds
......@@ -17,6 +17,7 @@ variables:
lint:
stage: test
script:
- rustup component add rustfmt clippy
- cargo fmt --all --check
- cargo clippy --offline --frozen --locked -- -D warnings
cache:
......@@ -36,7 +37,7 @@ test:
package:
stage: test
script:
- cargo package --release
dependencies:
- cargo package
needs:
- test
- lint
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment