Skip to content

Run code analysis

Run code analysis #2

Workflow file for this run

# Copyright (c) 2023 Ferrous Systems
# SPDX-License-Identifier: MIT OR Apache-2.0
name: code-analysis
run-name: Run code analysis
on: [push]
jobs:
clippy-demo-app:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Add rustup target
run: |
rustup target add thumbv7em-none-eabi
- name: Check Clippy
env:
RUSTFLAGS: "-Dwarnings"
run: |
cd demo-app
cargo clippy --all-features