Skip to content

Commit

Permalink
ci: run cargo format --check (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard authored Oct 4, 2024
1 parent b7f3257 commit 15ed547
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ concurrency:
cancel-in-progress: true

jobs:
format:
name: Format check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Rust toolchain
run: rustup toolchain install stable --profile minimal --component rustfmt

- name: Run rustfmt
run: cargo fmt --all -- --check

build:
runs-on: ubuntu-latest
outputs:
Expand Down

0 comments on commit 15ed547

Please sign in to comment.