Skip to content

Commit 5417a06

Browse files
chore: Download submodules in the CI checkouts (vectordotdev#17760)
1 parent e164b36 commit 5417a06

9 files changed

+22
-1
lines changed

.github/audit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
security_audit:
1212
runs-on: ubuntu-20.04
1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v3
1515
- uses: actions-rs/audit-check@v1
1616
with:
1717
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/component_features.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ jobs:
2626
uses: actions/checkout@v3
2727
with:
2828
ref: ${{ steps.comment-branch.outputs.head_ref }}
29+
submodules: "recursive"
2930

3031
- name: Checkout branch
3132
if: ${{ github.event_name != 'issue_comment' }}
3233
uses: actions/checkout@v3
34+
with:
35+
submodules: "recursive"
3336

3437
- run: sudo -E bash scripts/environment/bootstrap-ubuntu-20.04.sh
3538
- run: bash scripts/environment/prepare.sh

.github/workflows/cross.yml

+3
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ jobs:
3939
uses: actions/checkout@v3
4040
with:
4141
ref: ${{ steps.comment-branch.outputs.head_ref }}
42+
submodules: "recursive"
4243

4344
- name: Checkout branch
4445
if: ${{ github.event_name != 'issue_comment' }}
4546
uses: actions/checkout@v3
47+
with:
48+
submodules: "recursive"
4649

4750
- uses: actions/cache@v3
4851
name: Cache Cargo registry + index

.github/workflows/integration-test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@ jobs:
5454
uses: actions/checkout@v3
5555
with:
5656
ref: ${{ steps.comment-branch.outputs.head_ref }}
57+
submodules: "recursive"
5758

5859
- name: Checkout branch
5960
if: ${{ github.event_name != 'issue_comment' }}
6061
uses: actions/checkout@v3
62+
with:
63+
submodules: "recursive"
6164

6265
- run: sudo npm -g install @datadog/datadog-ci
6366

.github/workflows/misc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ jobs:
2828
uses: actions/checkout@v3
2929
with:
3030
ref: ${{ steps.comment-branch.outputs.head_ref }}
31+
submodules: "recursive"
3132

3233
- name: Checkout branch
3334
if: ${{ github.event_name != 'issue_comment' }}
3435
uses: actions/checkout@v3
36+
with:
37+
submodules: "recursive"
3538

3639
- uses: actions/cache@v3
3740
name: Cache Cargo registry + index

.github/workflows/regression.yml

+2
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ jobs:
292292
with:
293293
ref: ${{ needs.compute-metadata.outputs.baseline-sha }}
294294
path: baseline-vector
295+
submodules: "recursive"
295296

296297
- name: Set up Docker Buildx
297298
id: buildx
@@ -329,6 +330,7 @@ jobs:
329330
with:
330331
ref: ${{ needs.compute-metadata.outputs.comparison-sha }}
331332
path: comparison-vector
333+
submodules: "recursive"
332334

333335
- name: Set up Docker Buildx
334336
id: buildx

.github/workflows/test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
with:
4545
# check-version needs tags
4646
fetch-depth: 0 # fetch everything
47+
submodules: "recursive"
4748

4849
- uses: actions/cache@v3
4950
name: Cache Cargo registry + index

.github/workflows/unit_mac.yml

+3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,13 @@ jobs:
3232
uses: actions/checkout@v3
3333
with:
3434
ref: ${{ steps.comment-branch.outputs.head_ref }}
35+
submodules: "recursive"
3536

3637
- name: Checkout branch
3738
if: ${{ github.event_name != 'issue_comment' }}
3839
uses: actions/checkout@v3
40+
with:
41+
submodules: "recursive"
3942

4043
- uses: actions/cache@v3
4144
name: Cache Cargo registry + index

.github/workflows/unit_windows.yml

+3
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ jobs:
3535
uses: actions/checkout@v3
3636
with:
3737
ref: ${{ steps.comment-branch.outputs.head_ref }}
38+
submodules: "recursive"
3839

3940
- name: Checkout branch
4041
if: ${{ github.event_name != 'issue_comment' }}
4142
uses: actions/checkout@v3
43+
with:
44+
submodules: "recursive"
4245

4346
- run: .\scripts\environment\bootstrap-windows-2019.ps1
4447
- run: make test

0 commit comments

Comments
 (0)