mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 12:41:31 +11:00
Apply suggestions from code review
Co-authored-by: Émile Grégoire <eg@emilegregoire.ca>
This commit is contained in:
parent
cc1a1bee2c
commit
cb51448089
20
.github/workflows/check.yml
vendored
20
.github/workflows/check.yml
vendored
|
@ -5,11 +5,23 @@ jobs:
|
||||||
name: Check and Lint
|
name: Check and Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: thumbv6m-none-eabi
|
target: thumbv6m-none-eabi
|
||||||
- run: "cargo check --all --examples"
|
override: true
|
||||||
- run: "cargo fmt -- --check"
|
profile: minimal
|
||||||
- run: "cargo clippy -- -Dwarnings"
|
components: rustfmt, clippy
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: check
|
||||||
|
args: --workspace
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: fmt
|
||||||
|
args: -- --check
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: clippy
|
||||||
|
args: -- -Dwarnings
|
||||||
|
|
Loading…
Reference in a new issue