Clippy in tests (#10394)

Running `cargo clippy --workspace --tests`

We should move that to CI as well
This commit is contained in:
Stefan Holderbach
2023-09-16 21:49:10 +02:00
committed by GitHub
parent a9a82de5c4
commit 19d732f313
3 changed files with 7 additions and 5 deletions

View File

@ -49,6 +49,10 @@ jobs:
- name: Clippy
run: cargo clippy --workspace ${{ matrix.flags }} --exclude nu_plugin_* -- $CLIPPY_OPTIONS
# In tests we don't have to deny unwrap
- name: Clippy of tests
run: cargo clippy --tests --workspace ${{ matrix.flags }} --exclude nu_plugin_* -- -D warnings
tests:
strategy: