From ee67706b31252a59831aaa7db2632e1b656e3d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 16 Jun 2020 17:13:35 +0200 Subject: [PATCH] fix gha * clippy needs target * allow clippy failure * aim MSRV --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 89b978f..3e8f2f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: with: profile: minimal toolchain: stable + target: thumbv7em-none-eabihf override: true components: rustfmt, clippy - name: cargo fmt --check @@ -27,29 +28,28 @@ jobs: args: --all -- --check - name: cargo clippy uses: actions-rs/cargo@v1 + continue-on-error: true with: - command: clippy + command: clippy compile: runs-on: ubuntu-latest strategy: matrix: - target: - - thumbv7em-none-eabihf toolchain: - stable - 1.41.0 - 1.40.0 - 1.38.0 - - 1.36.0 + - 1.37.0 - beta steps: - uses: actions/checkout@v2 - - name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }}) + - name: Install Rust ${{ matrix.toolchain }} uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} - target: ${{ matrix.target }} + target: thumbv7em-none-eabihf override: true - name: cargo check uses: actions-rs/cargo@v1