Check rustfmt and run tests in Circle
This commit is contained in:
parent
300e14b5fe
commit
8f3c83311f
1 changed files with 33 additions and 0 deletions
|
@ -1,3 +1,36 @@
|
||||||
version: 2.1
|
version: 2.1
|
||||||
orbs:
|
orbs:
|
||||||
rust: glotrade/rust@0.1.3
|
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
|
||||||
|
|
Loading…
Reference in a new issue