diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 886919a9e5..50373a0093 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -16,7 +16,7 @@ env: name: bench jobs: codspeed: - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} strategy: matrix: partition: [1, 2] diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index c52a5007ad..c66be0ce35 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -15,7 +15,7 @@ env: jobs: build: - runs-on: depot-ubuntu-latest-8 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-8' || 'ubuntu-latest' }} timeout-minutes: 90 steps: - name: Checkout diff --git a/.github/workflows/check-alloy.yml b/.github/workflows/check-alloy.yml index 44e7845ef6..8eb5d1e277 100644 --- a/.github/workflows/check-alloy.yml +++ b/.github/workflows/check-alloy.yml @@ -25,7 +25,7 @@ env: jobs: check: name: Check compilation with patched alloy - runs-on: depot-ubuntu-latest-16 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-16' || 'ubuntu-latest' }} timeout-minutes: 60 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/compact.yml b/.github/workflows/compact.yml index 2292e193d7..093750790c 100644 --- a/.github/workflows/compact.yml +++ b/.github/workflows/compact.yml @@ -18,7 +18,7 @@ env: name: compact-codec jobs: compact-codec: - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} strategy: matrix: bin: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c2a115198c..291e7c28aa 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -20,7 +20,7 @@ concurrency: jobs: test: name: e2e-testsuite - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} env: RUST_BACKTRACE: 1 timeout-minutes: 90 @@ -47,7 +47,7 @@ jobs: rocksdb: name: e2e-rocksdb - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} env: RUST_BACKTRACE: 1 timeout-minutes: 60 diff --git a/.github/workflows/hive.yml b/.github/workflows/hive.yml index 7d2d956ff0..936abd0391 100644 --- a/.github/workflows/hive.yml +++ b/.github/workflows/hive.yml @@ -32,7 +32,7 @@ jobs: prepare-hive: if: github.repository == 'paradigmxyz/reth' timeout-minutes: 45 - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v6 - name: Checkout hive tests @@ -188,7 +188,7 @@ jobs: - build-reth-edge - prepare-hive name: ${{ matrix.storage }} / ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }} - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} permissions: issues: write steps: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 901de86615..c5d2ea7315 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -24,7 +24,7 @@ jobs: test: name: test / ${{ matrix.network }} / ${{ matrix.storage }} if: github.event_name != 'schedule' - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} env: RUST_BACKTRACE: 1 strategy: diff --git a/.github/workflows/kurtosis.yml b/.github/workflows/kurtosis.yml index 665b098b59..fe8797b14a 100644 --- a/.github/workflows/kurtosis.yml +++ b/.github/workflows/kurtosis.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false name: run kurtosis - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} needs: - build-reth steps: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ba35c3622c..864643e859 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ env: jobs: clippy-binaries: name: clippy binaries / ${{ matrix.type }} - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 strategy: matrix: @@ -42,7 +42,7 @@ jobs: clippy: name: clippy - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -59,7 +59,7 @@ jobs: RUSTFLAGS: -D warnings wasm: - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -79,7 +79,7 @@ jobs: .github/scripts/check_wasm.sh riscv: - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 60 steps: - uses: actions/checkout@v6 @@ -98,7 +98,7 @@ jobs: crate-checks: name: crate-checks (${{ matrix.partition }}/${{ matrix.total_partitions }}) - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} strategy: matrix: partition: [1, 2, 3] @@ -117,7 +117,7 @@ jobs: msrv: name: MSRV - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -135,7 +135,7 @@ jobs: docs: name: docs - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -153,7 +153,7 @@ jobs: fmt: name: fmt - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -167,7 +167,7 @@ jobs: udeps: name: udeps - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -182,7 +182,7 @@ jobs: book: name: book - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -240,7 +240,7 @@ jobs: # Checks that selected crates can compile with power set of features features: name: features - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 @@ -264,7 +264,7 @@ jobs: # Check crates correctly propagate features feature-propagation: - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} timeout-minutes: 20 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 8716a5254a..de1dcce5b0 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -23,7 +23,7 @@ jobs: name: stage-run-test # Only run stage commands test in merge groups if: github.event_name == 'merge_group' - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 diff --git a/.github/workflows/sync-era.yml b/.github/workflows/sync-era.yml index 991a39b191..b9b5cd4031 100644 --- a/.github/workflows/sync-era.yml +++ b/.github/workflows/sync-era.yml @@ -19,7 +19,7 @@ jobs: sync: if: github.repository == 'paradigmxyz/reth' name: sync (${{ matrix.chain.bin }}) - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index f6296d6cda..efb68caebe 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -19,7 +19,7 @@ jobs: sync: if: github.repository == 'paradigmxyz/reth' name: sync (${{ matrix.chain.bin }}) - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index d5386cf41e..3afee812b6 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -20,7 +20,7 @@ concurrency: jobs: test: name: test / ${{ matrix.type }} / ${{ matrix.storage }} - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} env: RUST_BACKTRACE: 1 EDGE_FEATURES: ${{ matrix.storage == 'edge' && 'edge' || '' }} @@ -57,7 +57,7 @@ jobs: state: name: Ethereum state tests - runs-on: depot-ubuntu-latest-4 + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest-4' || 'ubuntu-latest' }} env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 @@ -92,7 +92,7 @@ jobs: doc: name: doc tests - runs-on: depot-ubuntu-latest + runs-on: ${{ github.repository == 'paradigmxyz/reth' && 'depot-ubuntu-latest' || 'ubuntu-latest' }} env: RUST_BACKTRACE: 1 timeout-minutes: 30