Skip to content

Improve CI (--locked and documentation) #31

Improve CI (--locked and documentation)

Improve CI (--locked and documentation) #31

Workflow file for this run

---
name: Rust formatting
on:
pull_request:
paths:
- .github/workflows/*.yml
- '**/*.rs'
workflow_dispatch:
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/[email protected]
with:
toolchain: stable
components: rustfmt
override: true
- name: Check formatting
run: |
rustfmt --version
cargo fmt -- --check