Skip to content

Merge pull request #727 from Sympatron/main #2050

Merge pull request #727 from Sympatron/main

Merge pull request #727 from Sympatron/main #2050

Workflow file for this run

on: [push, pull_request]
name: Code formatting check
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-20.04
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
target: thumbv6m-none-eabi
components: rustfmt
- run: cargo fmt -- --check
- run: |
cd on-target-tests
cargo fmt -- --check