Skip to content

Commit 143d07e

Browse files
committed
turn off submodule updating for all testing submodules
1 parent 89f1b7c commit 143d07e

File tree

4 files changed

+42
-15
lines changed

4 files changed

+42
-15
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 'Setup Submodules'
2+
description: 'Initialize and update git submodules for testing'
3+
runs:
4+
using: 'composite'
5+
steps:
6+
- name: Initialize and update submodules
7+
shell: bash
8+
run: |
9+
git submodule init
10+
git submodule update --depth 1

.github/workflows/extended.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ jobs:
6363
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6464
with:
6565
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
66-
submodules: true
6766
fetch-depth: 1
67+
- name: Setup Submodules
68+
uses: ./.github/actions/setup-submodules
6869
- name: Install Rust
6970
run: |
7071
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
@@ -87,8 +88,9 @@ jobs:
8788
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8889
with:
8990
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
90-
submodules: true
9191
fetch-depth: 1
92+
- name: Setup Submodules
93+
uses: ./.github/actions/setup-submodules
9294
- name: Free Disk Space (Ubuntu)
9395
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
9496
- name: Install Rust
@@ -131,8 +133,9 @@ jobs:
131133
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
132134
with:
133135
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
134-
submodules: true
135136
fetch-depth: 1
137+
- name: Setup Submodules
138+
uses: ./.github/actions/setup-submodules
136139
- name: Setup Rust toolchain
137140
uses: ./.github/actions/setup-builder
138141
with:
@@ -152,8 +155,9 @@ jobs:
152155
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
153156
with:
154157
ref: ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
155-
submodules: true
156158
fetch-depth: 1
159+
- name: Setup Submodules
160+
uses: ./.github/actions/setup-submodules
157161
- name: Setup Rust toolchain
158162
uses: ./.github/actions/setup-builder
159163
with:

.github/workflows/rust.yml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,9 @@ jobs:
269269
steps:
270270
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
271271
with:
272-
submodules: true
273272
fetch-depth: 1
273+
- name: Setup Submodules
274+
uses: ./.github/actions/setup-submodules
274275
- name: Setup Rust toolchain
275276
uses: ./.github/actions/setup-builder
276277
with:
@@ -310,8 +311,9 @@ jobs:
310311
steps:
311312
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
312313
with:
313-
submodules: true
314314
fetch-depth: 1
315+
- name: Setup Submodules
316+
uses: ./.github/actions/setup-submodules
315317
- name: Setup Rust toolchain
316318
run: rustup toolchain install stable
317319
- name: Run tests (excluding doctests)
@@ -336,8 +338,9 @@ jobs:
336338
steps:
337339
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
338340
with:
339-
submodules: true
340341
fetch-depth: 1
342+
- name: Setup Submodules
343+
uses: ./.github/actions/setup-submodules
341344
- name: Setup Rust toolchain
342345
uses: ./.github/actions/setup-builder
343346
with:
@@ -366,8 +369,9 @@ jobs:
366369
steps:
367370
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
368371
with:
369-
submodules: true
370372
fetch-depth: 1
373+
- name: Setup Submodules
374+
uses: ./.github/actions/setup-submodules
371375
- name: Setup Rust toolchain
372376
uses: ./.github/actions/setup-builder
373377
with:
@@ -424,8 +428,9 @@ jobs:
424428
steps:
425429
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
426430
with:
427-
submodules: true
428431
fetch-depth: 1
432+
- name: Setup Submodules
433+
uses: ./.github/actions/setup-submodules
429434
- name: Setup Rust toolchain
430435
uses: ./.github/actions/setup-builder
431436
with:
@@ -471,8 +476,9 @@ jobs:
471476
steps:
472477
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
473478
with:
474-
submodules: true
475479
fetch-depth: 1
480+
- name: Setup Submodules
481+
uses: ./.github/actions/setup-submodules
476482
- name: Setup Rust toolchain
477483
uses: ./.github/actions/setup-builder
478484
with:
@@ -495,8 +501,9 @@ jobs:
495501
steps:
496502
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
497503
with:
498-
submodules: true
499504
fetch-depth: 1
505+
- name: Setup Submodules
506+
uses: ./.github/actions/setup-submodules
500507
- name: Setup Rust toolchain
501508
uses: ./.github/actions/setup-builder
502509
with:
@@ -549,8 +556,9 @@ jobs:
549556
steps:
550557
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
551558
with:
552-
submodules: true
553559
fetch-depth: 1
560+
- name: Setup Submodules
561+
uses: ./.github/actions/setup-submodules
554562
- name: Setup Rust toolchain
555563
uses: ./.github/actions/setup-macos-aarch64-builder
556564
- name: Run tests (excluding doctests)
@@ -665,8 +673,9 @@ jobs:
665673
steps:
666674
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
667675
with:
668-
submodules: true
669676
fetch-depth: 1
677+
- name: Setup Submodules
678+
uses: ./.github/actions/setup-submodules
670679
- name: Setup Rust toolchain
671680
uses: ./.github/actions/setup-builder
672681
with:
@@ -690,8 +699,9 @@ jobs:
690699
steps:
691700
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
692701
with:
693-
submodules: true
694702
fetch-depth: 1
703+
- name: Setup Submodules
704+
uses: ./.github/actions/setup-submodules
695705
- name: Setup Rust toolchain
696706
uses: ./.github/actions/setup-builder
697707
with:
@@ -711,8 +721,9 @@ jobs:
711721
steps:
712722
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
713723
with:
714-
submodules: true
715724
fetch-depth: 1
725+
- name: Setup Submodules
726+
uses: ./.github/actions/setup-submodules
716727
- name: Setup Rust toolchain
717728
uses: ./.github/actions/setup-builder
718729
with:

.gitmodules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[submodule "parquet-testing"]
22
path = parquet-testing
33
url = https://github.com/apache/parquet-testing.git
4+
update = none
45
[submodule "testing"]
56
path = testing
67
url = https://github.com/apache/arrow-testing
8+
update = none
79
[submodule "datafusion-testing"]
810
path = datafusion-testing
911
url = https://github.com/apache/datafusion-testing.git

0 commit comments

Comments
 (0)