Skip to content

Commit

Permalink
Add rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jimouris committed Oct 30, 2023
1 parent ef6c994 commit ef696db
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,18 @@ jobs:

- name: Run tests
run: cargo test --release --verbose

fmt:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install nightly
run: rustup toolchain install nightly

- name: Install rustfmt
run: rustup +nightly component add rustfmt

- name: Check fmt
run: cargo +nightly fmt --all -- --check

0 comments on commit ef696db

Please sign in to comment.