Skip to content

Commit

Permalink
actions: Check the code formatting
Browse files Browse the repository at this point in the history
This is done before the build step so as to fail early if poorly-
formatted code is proposed.

Signed-off-by: Kristofer Rye <[email protected]>
  • Loading branch information
rye committed Oct 24, 2019
1 parent e41ef9c commit 2fe5224
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
components: rustfmt
- name: clean
run: cargo clean
- name: check formatting
run: cargo fmt --check
- name: build
run: cargo build --verbose
env:
Expand Down

0 comments on commit 2fe5224

Please sign in to comment.