Actions 7 added clippy
Some checks failed
Rust-build / build (push) Failing after 4s

This commit is contained in:
Justine Pelletreau 2023-07-17 11:36:29 +02:00
parent f86145ff22
commit 8567aa75cd

View File

@ -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