Skip to content

chore: add pre-commit hooks and fix clippy/fmt issues (#26) #18

chore: add pre-commit hooks and fix clippy/fmt issues (#26)

chore: add pre-commit hooks and fix clippy/fmt issues (#26) #18

Workflow file for this run

name: Format Check
on:
push:
pull_request:
jobs:
rustfmt:
name: Rustfmt Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check formatting
run: cargo fmt --all -- --check