Skip to content

Update embedded-hal to 1.0 #64

Update embedded-hal to 1.0

Update embedded-hal to 1.0 #64

Workflow file for this run

name: lint
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
rust:
- '**.rs'
- 'rustfmt.toml'
- '.github/workflows/**'
- if: steps.changes.outputs.rust == 'true'
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- if: steps.changes.outputs.rust == 'true'
run: cargo fmt --check