diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7eb6215..6e3660b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,20 @@ default: image: rust:latest +fmt: + stage: lint + script: + - rustfmt --check tests/* + - rustfmt --check src/*.rs + - rustfmt --check src/stl/* + - rustfmt --check src/bin/* + +lint: + stage: lint + script: + - cargo clippy + allow_failure: true + compile: stage: build script: