ci: run extra clippy step without tests

This commit is contained in:
sleepycatcoding 2024-04-05 00:22:36 +03:00
parent 78f46b74f6
commit 20aa777f68
1 changed files with 5 additions and 1 deletions

View File

@ -129,10 +129,14 @@ jobs:
- name: Check formatting
run: cargo fmt --all -- --check
- name: Check clippy
- name: Check clippy (with tests)
# Don't fail the build for clippy on nightly, since we get a lot of false-positives
run: cargo clippy --all --all-features --tests ${{ (matrix.rust_version != 'nightly' && '-- -D warnings') || '' }}
- name: Check clippy (without tests)
# Don't fail the build for clippy on nightly, since we get a lot of false-positives
run: cargo clippy --all --all-features ${{ (matrix.rust_version != 'nightly' && '-- -D warnings') || '' }}
- name: Check documentation
run: cargo doc --no-deps --all-features
env: