Skip to content

Commit

Permalink
Enforce cargo fmt in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ollpu committed Oct 9, 2024
1 parent 8bca85e commit c35ab3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup default ${{ matrix.rust-version }}
- name: Cargo fmt
if: ${{ matrix.rust-version == 'stable' }}
run: cargo fmt --check
- name: Cargo build
if: ${{ matrix.rust-version == '1.71.1' }}
run: cargo build --verbose
Expand Down

0 comments on commit c35ab3c

Please sign in to comment.