Merge pull request #119 from Neotron-Compute/update-crates #500
Workflow file for this run
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: Clippy | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
clippy-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Add targets/components | |
run: | | |
rustup component add clippy | |
rustup target add thumbv6m-none-eabi | |
- name: Run Clippy | |
run: | | |
cargo clippy --target=thumbv6m-none-eabi --all-features |