Skip to content

Commit

Permalink
Add a format Github Action.
Browse files Browse the repository at this point in the history
  • Loading branch information
andriyDev committed Jun 23, 2024
1 parent 88ca36d commit c83490f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,14 @@ jobs:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- run: cargo clippy -- -D warnings
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly # Remove this once wrap_comments is stabilized.
- run: cargo fmt --all -- --check

0 comments on commit c83490f

Please sign in to comment.