Use USBLC6-2SC6 for ESD protection on the USB line #183
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: | |
branches: | |
- main | |
pull_request: | |
name: Cargo Clippy | |
jobs: | |
clippy: | |
name: Cargo Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
- run: rustup target install thumbv6m-none-eabi | |
- name: Cache Rust Dependencies | |
uses: Swatinem/rust-cache@v2 | |
- run: cd firmware && cargo clippy -- -D warnings |