Merge pull request #808 from jannic/prepare-v0.10.2 #2263
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |