add circleci
This commit is contained in:
parent
a9570f0ac1
commit
e28d34e996
|
@ -0,0 +1,22 @@
|
|||
version: 2
|
||||
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/rust:latest
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Install Dependencies
|
||||
command: |
|
||||
cargo install cargo-audit
|
||||
rustup component add clippy
|
||||
- run: cargo test --all
|
||||
- run:
|
||||
name: Check style
|
||||
command: |
|
||||
cargo fmt --all -- --check
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
- run:
|
||||
name: Audit Dependencies
|
||||
command: cargo audit
|
Loading…
Reference in New Issue