@@ -196,7 +196,8 @@ jobs:
196
196
- name : Validate jsonschema
197
197
run : make schema-limayaml.json
198
198
- name : Validate templates
199
- run : find -L templates -name '*.yaml' | xargs limactl validate
199
+ # Can't validate base templates in `_default` because they have no images
200
+ run : find -L templates -name '*.yaml' ! -path '*/_default/*' | xargs limactl validate
200
201
- name : Install test dependencies
201
202
# QEMU: required by Lima itself
202
203
# bash: required by test-templates.sh (OS version of bash is too old)
@@ -208,7 +209,7 @@ jobs:
208
209
run : echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --vm-type=qemu" >>$GITHUB_ENV
209
210
- name : " Inject `no_timer_check` to kernel cmdline"
210
211
# workaround to https://github.com/lima-vm/lima/issues/84
211
- run : ./hack/inject-cmdline-to-template.sh templates/default .yaml no_timer_check
212
+ run : ./hack/inject-cmdline-to-template.sh templates/_images/ubuntu .yaml no_timer_check
212
213
- name : Cache image used by default.yaml
213
214
uses : ./.github/actions/setup_cache_for_template
214
215
with :
@@ -353,7 +354,7 @@ jobs:
353
354
steps :
354
355
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
355
356
with :
356
- fetch-depth : 1
357
+ fetch-depth : 0
357
358
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
358
359
with :
359
360
go-version : 1.24.x
@@ -365,7 +366,7 @@ jobs:
365
366
run : echo "LIMACTL_CREATE_ARGS=${LIMACTL_CREATE_ARGS} --vm-type=qemu --network=lima:shared" >>$GITHUB_ENV
366
367
- name : " Inject `no_timer_check` to kernel cmdline"
367
368
# workaround to https://github.com/lima-vm/lima/issues/84
368
- run : ./hack/inject-cmdline-to-template.sh templates/default .yaml no_timer_check
369
+ run : ./hack/inject-cmdline-to-template.sh templates/_images/ubuntu .yaml no_timer_check
369
370
- name : Cache image used by default .yaml
370
371
uses : ./.github/actions/setup_cache_for_template
371
372
with :
@@ -408,6 +409,7 @@ jobs:
408
409
steps :
409
410
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
410
411
with :
412
+ # To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
411
413
fetch-depth : 0
412
414
- name : Fetch homebrew-core commit messages
413
415
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -452,7 +454,7 @@ jobs:
452
454
steps :
453
455
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
454
456
with :
455
- fetch-depth : 1
457
+ fetch-depth : 0
456
458
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
457
459
with :
458
460
go-version : 1.24.x
@@ -487,7 +489,7 @@ jobs:
487
489
steps :
488
490
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
489
491
with :
490
- fetch-depth : 1
492
+ fetch-depth : 0
491
493
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
492
494
with :
493
495
go-version : 1.24.x
0 commit comments