Skip to content

Commit c697147

Browse files
authored
ci: use depot runners (#20222)
1 parent 7388d66 commit c697147

File tree

17 files changed

+53
-41
lines changed

17 files changed

+53
-41
lines changed

.github/actionlint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
self-hosted-runner:
2+
labels:
3+
- depot-ubuntu-latest
4+
- depot-ubuntu-latest-2
5+
- depot-ubuntu-latest-4
6+
- depot-ubuntu-latest-8
7+
- depot-ubuntu-latest-16

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
name: bench
1616
jobs:
1717
codspeed:
18-
runs-on: ubuntu-latest
18+
runs-on: depot-ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v6
2121
with:

.github/workflows/book.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
build:
15-
runs-on: ubuntu-latest
15+
runs-on: depot-ubuntu-latest-16
1616
timeout-minutes: 90
1717
steps:
1818
- name: Checkout

.github/workflows/compact.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
name: compact-codec
1818
jobs:
1919
compact-codec:
20-
runs-on: ubuntu-latest
20+
runs-on: depot-ubuntu-latest-16
2121
strategy:
2222
matrix:
2323
bin:

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
test:
2121
name: e2e-testsuite
22-
runs-on: ubuntu-latest
22+
runs-on: depot-ubuntu-latest-16
2323
env:
2424
RUST_BACKTRACE: 1
2525
timeout-minutes: 90

.github/workflows/hive.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
prepare-hive:
2525
if: github.repository == 'paradigmxyz/reth'
2626
timeout-minutes: 45
27-
runs-on: ubuntu-latest
27+
runs-on: depot-ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v6
3030
- name: Checkout hive tests
@@ -178,7 +178,7 @@ jobs:
178178
- prepare-reth
179179
- prepare-hive
180180
name: run ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }}
181-
runs-on: ubuntu-latest
181+
runs-on: depot-ubuntu-latest
182182
permissions:
183183
issues: write
184184
steps:
@@ -245,7 +245,7 @@ jobs:
245245
notify-on-error:
246246
needs: test
247247
if: failure()
248-
runs-on: ubuntu-latest
248+
runs-on: depot-ubuntu-latest
249249
steps:
250250
- name: Slack Webhook Action
251251
uses: rtCamp/action-slack-notify@v2

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
test:
2424
name: test / ${{ matrix.network }}
2525
if: github.event_name != 'schedule'
26-
runs-on: ubuntu-latest
26+
runs-on: depot-ubuntu-latest-16
2727
env:
2828
RUST_BACKTRACE: 1
2929
strategy:

.github/workflows/kurtosis-op.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
name: run kurtosis
35-
runs-on: ubuntu-latest
35+
runs-on: depot-ubuntu-latest
3636
needs:
3737
- prepare-reth
3838
steps:
@@ -85,7 +85,7 @@ jobs:
8585
notify-on-error:
8686
needs: test
8787
if: failure()
88-
runs-on: ubuntu-latest
88+
runs-on: depot-ubuntu-latest
8989
steps:
9090
- name: Slack Webhook Action
9191
uses: rtCamp/action-slack-notify@v2

.github/workflows/kurtosis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
name: run kurtosis
33-
runs-on: ubuntu-latest
33+
runs-on: depot-ubuntu-latest
3434
needs:
3535
- prepare-reth
3636
steps:
@@ -58,7 +58,7 @@ jobs:
5858
notify-on-error:
5959
needs: test
6060
if: failure()
61-
runs-on: ubuntu-latest
61+
runs-on: depot-ubuntu-latest
6262
steps:
6363
- name: Slack Webhook Action
6464
uses: rtCamp/action-slack-notify@v2

.github/workflows/lint.yml

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
clippy-binaries:
1414
name: clippy binaries / ${{ matrix.type }}
15-
runs-on: ubuntu-latest
15+
runs-on: depot-ubuntu-latest
1616
timeout-minutes: 30
1717
strategy:
1818
matrix:
@@ -40,7 +40,7 @@ jobs:
4040

4141
clippy:
4242
name: clippy
43-
runs-on: ubuntu-latest
43+
runs-on: depot-ubuntu-latest-16
4444
timeout-minutes: 30
4545
steps:
4646
- uses: actions/checkout@v6
@@ -56,7 +56,7 @@ jobs:
5656
RUSTFLAGS: -D warnings
5757

5858
wasm:
59-
runs-on: ubuntu-latest
59+
runs-on: depot-ubuntu-latest
6060
timeout-minutes: 30
6161
steps:
6262
- uses: actions/checkout@v6
@@ -75,7 +75,7 @@ jobs:
7575
.github/assets/check_wasm.sh
7676
7777
riscv:
78-
runs-on: ubuntu-latest
78+
runs-on: depot-ubuntu-latest
7979
timeout-minutes: 60
8080
steps:
8181
- uses: actions/checkout@v6
@@ -93,7 +93,7 @@ jobs:
9393

9494
crate-checks:
9595
name: crate-checks (${{ matrix.partition }}/${{ matrix.total_partitions }})
96-
runs-on: ubuntu-latest
96+
runs-on: depot-ubuntu-latest-16
9797
strategy:
9898
matrix:
9999
partition: [1, 2]
@@ -111,7 +111,7 @@ jobs:
111111

112112
msrv:
113113
name: MSRV
114-
runs-on: ubuntu-latest
114+
runs-on: depot-ubuntu-latest
115115
timeout-minutes: 30
116116
strategy:
117117
matrix:
@@ -133,7 +133,7 @@ jobs:
133133

134134
docs:
135135
name: docs
136-
runs-on: ubuntu-latest
136+
runs-on: depot-ubuntu-latest-16
137137
timeout-minutes: 30
138138
steps:
139139
- uses: actions/checkout@v6
@@ -150,7 +150,7 @@ jobs:
150150

151151
fmt:
152152
name: fmt
153-
runs-on: ubuntu-latest
153+
runs-on: depot-ubuntu-latest
154154
timeout-minutes: 30
155155
steps:
156156
- uses: actions/checkout@v6
@@ -163,7 +163,7 @@ jobs:
163163

164164
udeps:
165165
name: udeps
166-
runs-on: ubuntu-latest
166+
runs-on: depot-ubuntu-latest-16
167167
timeout-minutes: 30
168168
steps:
169169
- uses: actions/checkout@v6
@@ -177,7 +177,7 @@ jobs:
177177

178178
book:
179179
name: book
180-
runs-on: ubuntu-latest
180+
runs-on: depot-ubuntu-latest-16
181181
timeout-minutes: 30
182182
steps:
183183
- uses: actions/checkout@v6
@@ -232,10 +232,14 @@ jobs:
232232
- name: Ensure no arbitrary or proptest dependency on default build
233233
run: cargo tree --package reth -e=features,no-dev | grep -Eq "arbitrary|proptest" && exit 1 || exit 0
234234

235-
# Checks that selected rates can compile with power set of features
235+
# Checks that selected crates can compile with power set of features
236236
features:
237-
name: features
238-
runs-on: ubuntu-latest
237+
name: features (${{ matrix.partition }}/${{ matrix.total_partitions }})
238+
runs-on: depot-ubuntu-latest-16
239+
strategy:
240+
matrix:
241+
partition: [1, 2]
242+
total_partitions: [2]
239243
timeout-minutes: 30
240244
steps:
241245
- uses: actions/checkout@v6
@@ -246,13 +250,19 @@ jobs:
246250
cache-on-failure: true
247251
- name: cargo install cargo-hack
248252
uses: taiki-e/install-action@cargo-hack
249-
- run: make check-features
253+
- run: |
254+
cargo hack check \
255+
--package reth-codecs \
256+
--package reth-primitives-traits \
257+
--package reth-primitives \
258+
--feature-powerset \
259+
--partition ${{ matrix.partition }}/${{ matrix.total_partitions }}
250260
env:
251261
RUSTFLAGS: -D warnings
252262
253263
# Check crates correctly propagate features
254264
feature-propagation:
255-
runs-on: ubuntu-latest
265+
runs-on: depot-ubuntu-latest
256266
timeout-minutes: 20
257267
steps:
258268
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)