From 66c3ca840083c5fa9451eae3d584d6458b70cb8a Mon Sep 17 00:00:00 2001 From: tac0turtle Date: Mon, 26 Oct 2026 17:40:00 +0100 Subject: [PATCH] ci: reuse debug dependencies for E2E builds --- .github/workflows/e2e.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 463b43f8..d236b6ad 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -35,10 +35,12 @@ jobs: - uses: taiki-e/install-action@nextest - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 - - name: Build ev-reth + # Keep the profile and package selection aligned with nextest so dependencies are reused. + # The client E2E harness also supports target/debug/ev-reth. + - name: Build E2E node run: | for attempt in 1 2 3; do - cargo build --profile release --locked --bin ev-reth && exit 0 + cargo build --locked -p ev-reth -p ev-tests --bin ev-reth && exit 0 if [ "$attempt" = "3" ]; then exit 1 fi @@ -49,7 +51,7 @@ jobs: run: | cargo nextest run \ --locked \ - --workspace \ + -p ev-reth -p ev-tests \ -E "package(ev-tests)" \ --no-capture env: