Merge pull request #540 from apeng2012/fix-afio #961
This file contains hidden or 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: 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-M3 target | |
run: rustup target add thumbv7m-none-eabi | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --features=stm32f103 --target thumbv7m-none-eabi |