Apply suggestions from code review

Co-authored-by: Émile Grégoire <eg@emilegregoire.ca>
This commit is contained in:
Jennifer Wilcox 2021-04-24 20:17:42 -05:00 committed by GitHub
parent cc1a1bee2c
commit cb51448089
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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