mirror of
https://github.com/rust-embedded/embedded-hal.git
synced 2026-03-17 11:27:45 +00:00
20 lines
488 B
YAML
20 lines
488 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@v3
|
|
- uses: dtolnay/rust-toolchain@master
|
|
with:
|
|
toolchain: nightly
|
|
components: rustfmt
|
|
- run: cargo fmt --check
|