Skip to content

Commit

Permalink
Add cargo fmt to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Sep 15, 2024
1 parent a308d30 commit 839705b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Test
run: cargo test
format:
name: Cargo format (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt
cross:
name: Cargo cross build (${{ matrix.target }})
runs-on: ubuntu-latest
Expand Down

0 comments on commit 839705b

Please sign in to comment.