Skip to content

Commit

Permalink
Add Rustfmt workflow to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopey committed Mar 15, 2024
1 parent d2a082c commit e92896d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ jobs:
- name: Mark the job as unsuccessful
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: mkroening/rust-toolchain-toml@main
- name: Rustfmt
run: cargo fmt --check

0 comments on commit e92896d

Please sign in to comment.