Skip to content

Commit

Permalink
Run rustfmt in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc committed May 2, 2021
1 parent 512a1a9 commit 2306612
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ jobs:
rustup default nightly
- run: cargo bench

rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rustup
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
- name: Install rust
run: |
rustup install stable
rustup default stable
rustup component add rustfmt
- run: cargo fmt --all -- --check

coverage:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 2306612

Please sign in to comment.