Skip to content

Use the firmware working directory for cargo #135

Use the firmware working directory for cargo

Use the firmware working directory for cargo #135

Workflow file for this run

on: [push, pull_request]
name: Cargo Clippy
jobs:
clippy:
name: Cargo Clippy
runs-on: ubuntu-latest
working-directory: firmware/

Check failure on line 9 in .github/workflows/clippy.yml

View workflow run for this annotation

GitHub Actions / Cargo Clippy

Invalid workflow file

The workflow is not valid. .github/workflows/clippy.yml (Line: 9, Col: 5): Unexpected value 'working-directory'
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- run: rustup target install thumbv6m-none-eabi
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings