Skip to content

chore(ci): make fmt -> make fmt-check(followup for #431) (#435) #559

chore(ci): make fmt -> make fmt-check(followup for #431) (#435)

chore(ci): make fmt -> make fmt-check(followup for #431) (#435) #559

Workflow file for this run

name: Format check
on:
push:
branches: [ "main" ]
pull_request:
paths:
- 'src/**.rs'
- Cargo.toml
- Cargo.lock
- rustfmt.toml
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup nightly rustfmt
run: |
rustup set profile minimal
rustup install nightly
rustup override set nightly
rustup component add rustfmt
- name: Check formatting
run: |
make fmt-check