use all-features devshell for clippy/all in CI

Without this, we're building a static rocksdb inside the rust-rocksdb
build script every time. As far as I know this doesn't change clippy's
behavior, but it does take a *long* time.
This commit is contained in:
Benjamin Lee 2024-05-30 00:45:22 -07:00
parent fa48c48d52
commit 467417c32a
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4
3 changed files with 11 additions and 8 deletions

View file

@ -68,13 +68,15 @@ script = "cargo clippy --workspace --all-targets --color=always -- -D warnings"
name = "cargo-clippy/all"
group = "lints"
script = """
cargo clippy \
--workspace \
--all-targets \
--all-features \
--color=always \
-- \
-D warnings
env DIRENV_DEVSHELL=all-features \
direnv exec . \
cargo clippy \
--workspace \
--all-targets \
--all-features \
--color=always \
-- \
-D warnings
"""
[[task]]