diff options
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25648846..b93c71b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,5 +34,14 @@ build image: unit: image: rust:latest stage: test + needs: [] script: - cargo test + +lint: + image: rust:latest + stage: test + needs: [] + script: + - cargo fmt + - cargo clippy -- -D warnings |
