Skip to content

Reformat all Cargo.toml files #2327

Reformat all Cargo.toml files

Reformat all Cargo.toml files #2327

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@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: thumbv6m-none-eabi
components: rustfmt
- name: Check format of rp2040-hal
run: cd rp2040-hal && cargo fmt -- --check
- name: Check format of rp2040-hal-macros
run: cd rp2040-hal-macros && cargo fmt -- --check
- name: Check format of on-target-tests
run: cd on-target-tests && cargo fmt -- --check
- name: Check format of rp2040-hal-examples
run: cd rp2040-hal-examples && cargo fmt -- --check
- name: Check format of rp-binary-info
run: cd rp-binary-info && cargo fmt -- --check