Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_NET_RETRY: "10"
CARGO_HTTP_MULTIPLEXING: "false"
CARGO_HTTP_TIMEOUT: "600"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -24,14 +30,18 @@ jobs:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: taiki-e/install-action@nextest
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Build ev-reth
run: |
cargo build --profile release --locked --bin ev-reth
for attempt in 1 2 3; do
cargo build --profile release --locked --bin ev-reth && exit 0
if [ "$attempt" = "3" ]; then
exit 1
fi
sleep $((attempt * 15))
done

- name: Run E2E tests
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ev_deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_NET_RETRY: "10"
CARGO_HTTP_MULTIPLEXING: "false"
CARGO_HTTP_TIMEOUT: "600"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"

jobs:
verify-bytecodes:
Expand All @@ -34,8 +40,6 @@ jobs:

- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand All @@ -52,8 +56,6 @@ jobs:

- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Run unit tests
run: cargo test -p ev-deployer
Expand All @@ -69,8 +71,6 @@ jobs:

- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_NET_RETRY: "10"
CARGO_HTTP_MULTIPLEXING: "false"
CARGO_HTTP_TIMEOUT: "600"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -28,8 +34,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run tests (unit/integration only)
run: |
cargo nextest run \
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_NET_RETRY: "10"
CARGO_HTTP_MULTIPLEXING: "false"
CARGO_HTTP_TIMEOUT: "600"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"

jobs:
clippy-binaries:
Expand All @@ -21,8 +27,6 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --bin ev-reth --workspace --features "jemalloc"
env:
RUSTFLAGS: -D warnings
Expand All @@ -37,8 +41,6 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --workspace --examples --tests --benches --all-features
env:
RUSTFLAGS: -D warnings
Expand All @@ -51,8 +53,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo hack check

docs:
Expand All @@ -65,8 +65,6 @@ jobs:
with:
toolchain: nightly-2026-02-21
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo doc --document-private-items --no-deps
env:
# Keep in sync with ./book.yml:jobs.build
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_NET_RETRY: "10"
CARGO_HTTP_MULTIPLEXING: "false"
CARGO_HTTP_TIMEOUT: "600"
CARGO_PROFILE_DEV_DEBUG: "0"
CARGO_PROFILE_TEST_DEBUG: "0"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -27,8 +33,6 @@ jobs:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: taiki-e/install-action@nextest
- name: Run tests
run: |
Expand Down Expand Up @@ -64,8 +68,6 @@ jobs:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run doctests
run: cargo test --doc --workspace

Expand Down
Loading