Skip to content

Merge pull request #23 from 9names/add_thumbv8m.main-none-eabi_ci #56

Merge pull request #23 from 9names/add_thumbv8m.main-none-eabi_ci

Merge pull request #23 from 9names/add_thumbv8m.main-none-eabi_ci #56

Workflow file for this run

on: [push, pull_request]
name: Clippy check
jobs:
clippy-check-arm:
runs-on: ubuntu-24.04
env:
RUSTFLAGS: "-D warnings -Aclippy::needless_lifetimes"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
target: thumbv8m.main-none-eabihf
toolchain: 1.81.0
components: clippy
- run: cargo clippy --target=thumbv8m.main-none-eabihf
clippy-check-riscv:
runs-on: ubuntu-24.04
env:
RUSTFLAGS: "-D warnings -Aclippy::needless_lifetimes"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
target: riscv32imac-unknown-none-elf
toolchain: 1.81.0
components: clippy
- run: cargo clippy --target=riscv32imac-unknown-none-elf