fix(ci): stub web/dist before go list to satisfy go:embed at compile time

This commit is contained in:
farhadh 2026-05-11 21:25:35 +02:00
parent 11629fba80
commit 55502070e6
No known key found for this signature in database

View file

@ -18,6 +18,8 @@ jobs:
with:
go-version-file: go.mod
cache: true
- name: Stub web/dist for go:embed
run: mkdir -p web/dist && touch web/dist/.gitkeep
- name: Test
run: |
go list ./... | grep -v '/frontend/node_modules/' > /tmp/go-packages.txt
@ -31,6 +33,8 @@ jobs:
with:
go-version-file: go.mod
cache: true
- name: Stub web/dist for go:embed
run: mkdir -p web/dist && touch web/dist/.gitkeep
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck