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:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
target: thumbv7em-none-eabihf
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
- name: cargo fmt --check
|
- name: cargo fmt --check
|
||||||
|
@ -27,6 +28,7 @@ jobs:
|
||||||
args: --all -- --check
|
args: --all -- --check
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
|
|
||||||
|
@ -34,22 +36,20 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
|
||||||
- thumbv7em-none-eabihf
|
|
||||||
toolchain:
|
toolchain:
|
||||||
- stable
|
- stable
|
||||||
- 1.41.0
|
- 1.41.0
|
||||||
- 1.40.0
|
- 1.40.0
|
||||||
- 1.38.0
|
- 1.38.0
|
||||||
- 1.36.0
|
- 1.37.0
|
||||||
- beta
|
- beta
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
|
- name: Install Rust ${{ matrix.toolchain }}
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.toolchain }}
|
toolchain: ${{ matrix.toolchain }}
|
||||||
target: ${{ matrix.target }}
|
target: thumbv7em-none-eabihf
|
||||||
override: true
|
override: true
|
||||||
- name: cargo check
|
- name: cargo check
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
Loading…
Reference in New Issue