Fix CI: create web build placeholder for Go embed in test and vet jobs

The go:embed directive requires web/build/* to exist. Go test and vet jobs
run without building the web UI, so create a minimal placeholder directory
to satisfy the embed pattern.
This commit is contained in:
xarmian
2026-03-27 03:35:55 +00:00
parent 9a590dc580
commit 14fe7fd631
+6
View File
@@ -20,6 +20,9 @@ jobs:
with:
go-version: "1.25"
- name: Create web build placeholder for embed
run: mkdir -p web/build && echo "placeholder" > web/build/.gitkeep
- name: Run tests
run: go test ./...
@@ -36,6 +39,9 @@ jobs:
with:
go-version: "1.25"
- name: Create web build placeholder for embed
run: mkdir -p web/build && echo "placeholder" > web/build/.gitkeep
- name: Run go vet
run: go vet ./...