This commit is contained in:
parent
f86145ff22
commit
8567aa75cd
@ -14,7 +14,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Check-out
|
- name: Check-out
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: https://github.com/actions-rs/toolchain@v1
|
uses: https://github.com/actions-rs/toolchain@v1
|
||||||
@ -25,12 +24,23 @@ jobs:
|
|||||||
|
|
||||||
- name: Run cargo check
|
- name: Run cargo check
|
||||||
uses: https://github.com/actions-rs/cargo@v1
|
uses: https://github.com/actions-rs/cargo@v1
|
||||||
continue-on-error: true # WARNING: only for this example, remove it!
|
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
|
|
||||||
- name: Ayo
|
- name: Install nightly toolchain with clippy available
|
||||||
run: ls -la
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: nightly
|
||||||
|
override: true
|
||||||
|
components: clippy
|
||||||
|
|
||||||
|
- name: Run cargo clippy
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
continue-on-error: true # WARNING: only for this example, remove it!
|
||||||
|
with:
|
||||||
|
command: clippy
|
||||||
|
args: -- -D warnings
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test
|
run: cargo test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user