Check rustfmt and run tests in Circle

This commit is contained in:
Griffin Smith 2019-07-28 20:51:01 -04:00
parent 300e14b5fe
commit 8f3c83311f

View file

@ -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