Skip to content

Merge pull request #64 from atsams-rs/issue/62/fix-glob-reexport-warn… #116

Merge pull request #64 from atsams-rs/issue/62/fix-glob-reexport-warn…

Merge pull request #64 from atsams-rs/issue/62/fix-glob-reexport-warn… #116

Workflow file for this run

name: Formatting
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
MSRV: 1.63.0
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Specify toolchain
run: rustup override set $MSRV
- name: Install Rust (thumbv7em)
run: rustup target add thumbv7em-none-eabihf
- name: Install Rustfmt
run: rustup component add rustfmt
- run: |
set -xeu
cargo fmt --package atsamx7x-hal -- --check
for manifest in $(find ./boards -type f -iname Cargo.toml); do
pushd $(dirname $manifest)
cargo fmt -- --check
popd
done