Flags #2095
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
on: | |
push: | |
branches: [ staging, trying, master ] | |
pull_request: | |
name: Clippy check | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use the latest stable rustc | |
run: rustup update stable && rustup default stable | |
- name: Add Cortex-M4F target | |
run: rustup target add thumbv7em-none-eabihf | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v2 | |
with: | |
key: v0.17.0 | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --examples --features=stm32f479,usb_fs,sdio-host |