mirror of
https://github.com/rust-embedded/embedded-hal.git
synced 2026-03-23 15:40:19 +00:00
23 lines
451 B
YAML
23 lines
451 B
YAML
on:
|
|
push:
|
|
branches: [ staging, trying, master ]
|
|
pull_request:
|
|
|
|
name: Code formatting check
|
|
|
|
jobs:
|
|
fmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
components: rustfmt
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: fmt
|
|
args: --all -- --check
|