Skip to content

Commit

Permalink
chore: add rustfmt check to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kurnevsky committed May 14, 2023
1 parent 221df3e commit 769ebae
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ jobs:
command: clippy
args: -- -D warnings

rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --check

coverage:
name: Code coverage
runs-on: ubuntu-latest
Expand Down

0 comments on commit 769ebae

Please sign in to comment.