fix gha
* clippy needs target * allow clippy failure * aim MSRV
This commit is contained in:
parent
5d3f32469a
commit
ee67706b31
|
@ -18,6 +18,7 @@ jobs:
|
|||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
target: thumbv7em-none-eabihf
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
- name: cargo fmt --check
|
||||
|
@ -27,6 +28,7 @@ jobs:
|
|||
args: --all -- --check
|
||||
- name: cargo clippy
|
||||
uses: actions-rs/cargo@v1
|
||||
continue-on-error: true
|
||||
with:
|
||||
command: clippy
|
||||
|
||||
|
@ -34,22 +36,20 @@ jobs:
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue