From f6a3303f27a28b22f041194565bbac1ff6fd1913 Mon Sep 17 00:00:00 2001 From: Stephen D <webmaster@scd31.com> Date: Mon, 31 Jan 2022 18:26:51 -0400 Subject: [PATCH] ci --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5a2937c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +image: "rust:latest" + +before_script: + - rustup component add rustfmt + - rustup component add clippy + +test: + script: + - cargo fmt -- --check + - cargo clippy --all-targets --all-features -- -D warnings + - cargo test -- GitLab