Basic IS31FL3743 support #50
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
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 | |