diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ed147d..5d7fb48 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,17 @@ image: "rust:latest" -version:cargo: +cargo:version: script: - rustc --version && cargo --version -clippy:cargo: +cargo:clippy: + before_script: + - rustup component add clippy script: - cargo clippy --no-deps -- -D clippy::all -fmt:cargo: +cargo:fmt: + before_script: + - rustup component add rustfmt script: - cargo fmt --check