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