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
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
target: thumbv6m-none-eabi
|
||||
- run: "cargo check --all --examples"
|
||||
- run: "cargo fmt -- --check"
|
||||
- run: "cargo clippy -- -Dwarnings"
|
||||
override: true
|
||||
profile: minimal
|
||||
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