forked from mirror/grapevine
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:
parent
fa48c48d52
commit
467417c32a
3 changed files with 11 additions and 8 deletions
2
.envrc
2
.envrc
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
use flake
|
use flake ".#${DIRENV_DEVSHELL:-default}"
|
||||||
|
|
||||||
PATH_add bin
|
PATH_add bin
|
||||||
|
|
||||||
|
|
|
@ -51,6 +51,7 @@ ci() {
|
||||||
|
|
||||||
# Keep sorted
|
# Keep sorted
|
||||||
"$toplevel#devShells.x86_64-linux.default"
|
"$toplevel#devShells.x86_64-linux.default"
|
||||||
|
"$toplevel#devShells.x86_64-linux.all-features"
|
||||||
attic#default
|
attic#default
|
||||||
nixpkgs#direnv
|
nixpkgs#direnv
|
||||||
nixpkgs#jq
|
nixpkgs#jq
|
||||||
|
|
16
engage.toml
16
engage.toml
|
@ -68,13 +68,15 @@ script = "cargo clippy --workspace --all-targets --color=always -- -D warnings"
|
||||||
name = "cargo-clippy/all"
|
name = "cargo-clippy/all"
|
||||||
group = "lints"
|
group = "lints"
|
||||||
script = """
|
script = """
|
||||||
cargo clippy \
|
env DIRENV_DEVSHELL=all-features \
|
||||||
--workspace \
|
direnv exec . \
|
||||||
--all-targets \
|
cargo clippy \
|
||||||
--all-features \
|
--workspace \
|
||||||
--color=always \
|
--all-targets \
|
||||||
-- \
|
--all-features \
|
||||||
-D warnings
|
--color=always \
|
||||||
|
-- \
|
||||||
|
-D warnings
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[task]]
|
[[task]]
|
||||||
|
|
Loading…
Reference in a new issue