Use minimal toolchain for clippy runs

This commit is contained in:
David Peter 2022-05-28 22:25:20 +02:00 committed by David Peter
parent 40b368e761
commit 42e7e9ec64
1 changed files with 1 additions and 1 deletions

View File

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