Skip to content

Commit

Permalink
Add rustfmt workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfarrow committed Nov 3, 2022
1 parent e40a567 commit 4ba62eb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ env:
CARGO_TERM_COLOR: always

jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

build:

runs-on: ubuntu-latest
Expand Down

0 comments on commit 4ba62eb

Please sign in to comment.