run direnv exec in engage default steps

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2025-01-11 00:25:10 -05:00
parent 9bda5a43e5
commit 5e21b43f25
2 changed files with 11 additions and 9 deletions

View file

@ -50,8 +50,6 @@ env:
experimental-features = nix-command flakes experimental-features = nix-command flakes
extra-experimental-features = nix-command flakes extra-experimental-features = nix-command flakes
accept-flake-config = true accept-flake-config = true
# complement uses libolm
NIXPKGS_ALLOW_INSECURE: 1
WEB_UPLOAD_SSH_USERNAME: ${{ secrets.WEB_UPLOAD_SSH_USERNAME }} WEB_UPLOAD_SSH_USERNAME: ${{ secrets.WEB_UPLOAD_SSH_USERNAME }}
GH_SHA: ${{ github.sha }} GH_SHA: ${{ github.sha }}
GH_REF_NAME: ${{ github.ref_name }} GH_REF_NAME: ${{ github.ref_name }}

View file

@ -97,6 +97,7 @@ env DIRENV_DEVSHELL=all-features \
name = "clippy/default" name = "clippy/default"
group = "lints" group = "lints"
script = """ script = """
direnv exec . \
cargo clippy \ cargo clippy \
--workspace \ --workspace \
--profile test \ --profile test \
@ -126,6 +127,7 @@ env DIRENV_DEVSHELL=all-features \
name = "clippy/jemalloc" name = "clippy/jemalloc"
group = "lints" group = "lints"
script = """ script = """
direnv exec . \
cargo clippy \ cargo clippy \
--workspace \ --workspace \
--profile test \ --profile test \
@ -179,7 +181,9 @@ env DIRENV_DEVSHELL=all-features \
name = "cargo/default" name = "cargo/default"
group = "tests" group = "tests"
script = """ script = """
cargo test \ env DIRENV_DEVSHELL=default \
direnv exec . \
cargo test \
--workspace \ --workspace \
--profile test \ --profile test \
--all-targets \ --all-targets \