mirror of https://github.com/sharkdp/fd.git
Use minimal toolchain for clippy runs
This commit is contained in:
parent
40b368e761
commit
42e7e9ec64
|
@ -53,12 +53,12 @@ jobs:
|
|||
toolchain: ${{ env.MIN_SUPPORTED_RUST_VERSION }}
|
||||
default: true
|
||||
components: clippy
|
||||
profile: minimal
|
||||
- name: Run clippy (on minimum supported rust version to prevent warnings we can't fix)
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
args: --locked --all-targets --all-features
|
||||
profile: minimal # minimal component installation (ie, no documentation)
|
||||
- name: Run tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue