@@ -27,6 +27,9 @@ pub struct Job {
27
27
/// Free additional disk space in the job, by removing unused packages.
28
28
#[ serde( default ) ]
29
29
pub free_disk : Option < bool > ,
30
+ /// Should submodules be checked out eagerly?
31
+ #[ serde( default ) ]
32
+ pub checkout_submodules : Option < bool > ,
30
33
/// Documentation link to a resource that could help people debug this CI job.
31
34
pub doc_url : Option < String > ,
32
35
/// Whether the job is executed on AWS CodeBuild.
@@ -116,6 +119,8 @@ struct GithubActionsJob {
116
119
continue_on_error : Option < bool > ,
117
120
#[ serde( skip_serializing_if = "Option::is_none" ) ]
118
121
free_disk : Option < bool > ,
122
+ #[ serde( default ) ]
123
+ checkout_submodules : bool ,
119
124
#[ serde( skip_serializing_if = "Option::is_none" ) ]
120
125
doc_url : Option < String > ,
121
126
#[ serde( skip_serializing_if = "Option::is_none" ) ]
@@ -242,6 +247,7 @@ fn calculate_jobs(
242
247
env,
243
248
continue_on_error : job. continue_on_error ,
244
249
free_disk : job. free_disk ,
250
+ checkout_submodules : job. checkout_submodules . unwrap_or ( true ) ,
245
251
doc_url : job. doc_url ,
246
252
codebuild : job. codebuild ,
247
253
}
0 commit comments