Skip to content

Commit

Permalink
Enable cargo fmt on CI. (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jneem authored Nov 26, 2021
1 parent 2dff91b commit 54d25b7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ on:
- cron: "0 0 1,15 * *"

jobs:
fmt:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
rust: [stable]
os: [ubuntu-latest]

steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@v1
- name: Check format
run: |
cargo fmt -- --check
test:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit 54d25b7

Please sign in to comment.