82
82
uses : actions/checkout@v4
83
83
with :
84
84
persist-credentials : false
85
+ submodules : true
85
86
- name : Mark the workspace as safe
86
87
# https://github.com/actions/checkout/issues/766
87
88
run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -102,6 +103,7 @@ jobs:
102
103
uses : actions/checkout@v4
103
104
with :
104
105
persist-credentials : false
106
+ submodules : true
105
107
- name : Run documentation check
106
108
run : |
107
109
apt-get -qq update && apt-get -qq -y install curl yq
@@ -117,6 +119,7 @@ jobs:
117
119
uses : actions/checkout@v4
118
120
with :
119
121
persist-credentials : false
122
+ submodules : true
120
123
- name : Run unacceptable language check
121
124
env :
122
125
UNACCEPTABLE_WORD_LIST : ${{ inputs.unacceptable_language_check_word_list}}
@@ -132,6 +135,7 @@ jobs:
132
135
uses : actions/checkout@v4
133
136
with :
134
137
persist-credentials : false
138
+ submodules : true
135
139
- name : Run license header check
136
140
env :
137
141
PROJECT_NAME : ${{ inputs.license_header_check_project_name }}
@@ -147,6 +151,7 @@ jobs:
147
151
uses : actions/checkout@v4
148
152
with :
149
153
persist-credentials : false
154
+ submodules : true
150
155
- name : Run broken symlinks check
151
156
run : curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-broken-symlinks.sh | bash
152
157
@@ -162,6 +167,7 @@ jobs:
162
167
uses : actions/checkout@v4
163
168
with :
164
169
persist-credentials : false
170
+ submodules : true
165
171
- name : Mark the workspace as safe
166
172
# https://github.com/actions/checkout/issues/766
167
173
run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -182,6 +188,7 @@ jobs:
182
188
uses : actions/checkout@v4
183
189
with :
184
190
persist-credentials : false
191
+ submodules : true
185
192
- name : Mark the workspace as safe
186
193
# https://github.com/actions/checkout/issues/766
187
194
run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -200,6 +207,7 @@ jobs:
200
207
uses : actions/checkout@v4
201
208
with :
202
209
persist-credentials : false
210
+ submodules : true
203
211
- name : Run yamllint
204
212
run : |
205
213
which yamllint >/dev/null || ( apt-get update && apt-get install -y yamllint )
@@ -215,6 +223,7 @@ jobs:
215
223
uses : actions/checkout@v4
216
224
with :
217
225
persist-credentials : false
226
+ submodules : true
218
227
- name : Run flake8
219
228
run : |
220
229
pip3 install flake8 flake8-import-order
0 commit comments