diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8285d27fabf86e870773633c606d3ed4a4f8320..bbd5b77e1ca14de44491981c74b7a2b9f446065b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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