Skip to content

Commit 49a20ed

Browse files
authored
chore(ci): don't fetch the benchmark assets submodule where unused (#3175)
The `.worst_case_miner` submodule (~82 MB of pre-mined benchmark assets) is only needed when filling `tests/benchmark/`, which is excluded from collection unless `--include-benchmark` is passed. Fetching it adds up to ~18s to every checkout on GitHub-hosted runners. Drop `submodules: recursive` from `test.yaml`, `docs-build.yaml` and `gh-pages.yaml`; `benchmark.yaml`, `release_fixtures.yaml` and `hive-execute.yaml` are unchanged.
1 parent 7e95c5e commit 49a20ed

3 files changed

Lines changed: 0 additions & 19 deletions

File tree

.github/workflows/docs-build.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ jobs:
220220
with:
221221
ref: ${{ github.event_name == 'workflow_dispatch' && needs.check-should-publish.outputs.commit_sha || '' }}
222222
fetch-depth: 0
223-
submodules: recursive
224223

225224
- uses: ./.github/actions/setup-uv
226225

@@ -253,7 +252,6 @@ jobs:
253252
with:
254253
ref: ${{ github.event_name == 'workflow_dispatch' && needs.check-should-publish.outputs.commit_sha || '' }}
255254
fetch-depth: 0
256-
submodules: recursive
257255

258256
- uses: ./.github/actions/setup-uv
259257

.github/workflows/gh-pages.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
with:
3131
fetch-depth: 0
32-
submodules: recursive
3332

3433
- uses: ./.github/actions/setup-uv
3534

.github/workflows/test.yaml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37-
with:
38-
submodules: recursive
3937
- name: Ensure SHA pinned actions
4038
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@70c4af2ed5282c51ba40566d026d6647852ffa3e # v5.0.1
4139
- uses: ./.github/actions/setup-uv
@@ -98,8 +96,6 @@ jobs:
9896
until_fork: Amsterdam
9997
steps:
10098
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
101-
with:
102-
submodules: recursive
10399
- uses: ./.github/actions/setup-uv
104100
with:
105101
python-version: "3.14"
@@ -122,8 +118,6 @@ jobs:
122118
needs: static
123119
steps:
124120
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
125-
with:
126-
submodules: recursive
127121
- uses: ./.github/actions/setup-uv
128122
with:
129123
python-version: "pypy3.11"
@@ -139,8 +133,6 @@ jobs:
139133
needs: static
140134
steps:
141135
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
142-
with:
143-
submodules: recursive
144136
- uses: ./.github/actions/setup-uv
145137
with:
146138
python-version: "3.14"
@@ -161,8 +153,6 @@ jobs:
161153
needs: static
162154
steps:
163155
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
164-
with:
165-
submodules: recursive
166156
- uses: ./.github/actions/setup-uv
167157
with:
168158
python-version: "3.14"
@@ -177,8 +167,6 @@ jobs:
177167
needs: static
178168
steps:
179169
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
180-
with:
181-
submodules: recursive
182170
- uses: ./.github/actions/setup-uv
183171
- uses: ./.github/actions/setup-env
184172
- uses: ./.github/actions/build-evmone
@@ -192,8 +180,6 @@ jobs:
192180
needs: static
193181
steps:
194182
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
195-
with:
196-
submodules: recursive
197183
- uses: ./.github/actions/setup-uv
198184
with:
199185
python-version: "pypy3.11"
@@ -210,8 +196,6 @@ jobs:
210196
needs: static
211197
steps:
212198
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
213-
with:
214-
submodules: recursive
215199
- uses: ./.github/actions/setup-uv
216200
- name: Run test-ci-scripts
217201
run: just test-ci-scripts

0 commit comments

Comments
 (0)