From cb51448089620fa69c4333a634bc2f331ff5ea41 Mon Sep 17 00:00:00 2001 From: Jennifer Wilcox Date: Sat, 24 Apr 2021 20:17:42 -0500 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Émile Grégoire --- .github/workflows/check.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index cd42d94..4a96375 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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