From 8f3c83311f13ed28e4d8ad2875c21973ede25b1d Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 28 Jul 2019 20:51:01 -0400 Subject: Check rustfmt and run tests in Circle --- .circleci/config.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5e177bb348..99ed71cfa4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,36 @@ version: 2.1 orbs: rust: glotrade/rust@0.1.3 +jobs: + build: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/build + test: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/test + format: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/format + lint: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/clippy +workflows: + default: + jobs: + - format + - build + - test: + requires: + - build -- cgit 1.4.1