mirror of
https://github.com/rust-embedded/embedded-hal.git
synced 2026-03-31 03:19:00 +00:00
19 lines
459 B
YAML
19 lines
459 B
YAML
on:
|
|
push: # Run CI for all branches except GitHub merge queue tmp branches
|
|
branches-ignore:
|
|
- "gh-readonly-queue/**"
|
|
pull_request: # Run CI for PRs on any branch
|
|
merge_group: # Run CI for the GitHub merge queue
|
|
|
|
name: Code formatting check
|
|
|
|
jobs:
|
|
fmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: rustfmt
|
|
- run: cargo fmt --check
|