Skip to content

Commit

Permalink
Simplify circleci around rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jun 6, 2019
1 parent 61d2ff9 commit af1783e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ jobs:
name: Update rustc
command: |
rustup target add wasm32-unknown-unknown
rustup component add rustfmt-preview
rustup component add rustfmt
rustup update
- run:
name: Check formatting
command: |
rustfmt --version
cargo fmt
git diff --exit-code
cargo fmt --all -- --check
- run:
name: Test
command: cargo test --target=x86_64-unknown-linux-gnu
Expand Down

0 comments on commit af1783e

Please sign in to comment.