Skip to content

Commit c8f329f

Browse files
[CONFIG] Fix for GHA checkout for submodules (- WIP #79 -)
1 parent 5d9dedd commit c8f329f

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/workflows/Tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
LANG: "en_US.UTF-8"
2929
steps:
3030
- uses: actions/checkout@v4
31+
with:
32+
submodules: true
33+
persist-credentials: false
3134
- uses: actions/setup-python@v5
3235
with:
3336
python-version: "3.12"
@@ -75,6 +78,9 @@ jobs:
7578
LANG: ${{ matrix.lang-var }}
7679
steps:
7780
- uses: actions/checkout@v4
81+
with:
82+
submodules: true
83+
persist-credentials: false
7884
- name: Setup Python
7985
uses: actions/setup-python@v5
8086
with:
@@ -134,6 +140,9 @@ jobs:
134140
LANG: "en_US.utf-8"
135141
steps:
136142
- uses: actions/checkout@v4
143+
with:
144+
submodules: true
145+
persist-credentials: false
137146
- name: Setup Python ${{ matrix.python-version }}
138147
uses: actions/setup-python@v5
139148
with:
@@ -181,6 +190,9 @@ jobs:
181190
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
182191
steps:
183192
- uses: actions/checkout@v4
193+
with:
194+
submodules: true
195+
persist-credentials: false
184196
- name: Setup Python ${{ matrix.python-version }}
185197
uses: actions/setup-python@v5
186198
with:
@@ -249,6 +261,9 @@ jobs:
249261

250262
steps:
251263
- uses: actions/checkout@v4
264+
with:
265+
submodules: true
266+
persist-credentials: false
252267
- name: Setup Python
253268
uses: actions/setup-python@v5
254269
with:
@@ -293,6 +308,9 @@ jobs:
293308
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
294309
steps:
295310
- uses: actions/checkout@v4
311+
with:
312+
submodules: true
313+
persist-credentials: false
296314
- name: Setup Python ${{ matrix.python-version }}
297315
uses: actions/setup-python@v5
298316
with:
@@ -362,6 +380,9 @@ jobs:
362380

363381
steps:
364382
- uses: actions/checkout@v4
383+
with:
384+
submodules: true
385+
persist-credentials: false
365386
- name: Setup Python
366387
uses: actions/setup-python@v5
367388
with:

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ jobs:
4141

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/[email protected]
44+
uses: actions/[email protected]
45+
with:
46+
submodules: true
47+
persist-credentials: false
4548

4649
# Initializes the CodeQL tools for scanning.
4750
- name: Initialize CodeQL

.github/workflows/scorecards.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- name: "Checkout code"
3535
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3636
with:
37+
submodules: true
3738
persist-credentials: false
3839

3940
- name: "Run analysis"

0 commit comments

Comments
 (0)