mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-09-11 13:28:57 +00:00
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:
@@ -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 ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user