Skip to content

Commit

Permalink
CI: Enable rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Apr 10, 2020
1 parent 6acad67 commit df69ae7
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,19 @@ jobs:
command: test
args: --all-features ${{ matrix.target }}

# TODO: Run FMT.
#fmt:
# name: Rustfmt
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# - run: rustup component add rustfmt
# - uses: actions-rs/cargo@v1
# with:
# command: fmt
# args: --all -- --check
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

clippy:
name: Clippy
Expand Down

0 comments on commit df69ae7

Please sign in to comment.