Skip to content

Commit 762e510

Browse files
committed
CI: set fetch-depth to 0 to reproduce the proper version string
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" Signed-off-by: Akihiro Suda <[email protected]>
1 parent 88507bb commit 762e510

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727
with:
28-
fetch-depth: 1
28+
# 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"
29+
fetch-depth: 0
2930
- uses: actions/setup-go@v5
3031
with:
3132
go-version: 1.23.x
@@ -158,7 +159,8 @@ jobs:
158159
steps:
159160
- uses: actions/checkout@v4
160161
with:
161-
fetch-depth: 1
162+
# 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"
163+
fetch-depth: 0
162164
- uses: actions/setup-go@v5
163165
with:
164166
go-version: 1.23.x

0 commit comments

Comments
 (0)