From 55502070e6c10b996d8432599ebde751fd444ba0 Mon Sep 17 00:00:00 2001 From: farhadh Date: Mon, 11 May 2026 21:25:35 +0200 Subject: [PATCH] fix(ci): stub web/dist before go list to satisfy go:embed at compile time --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d3be9a8..3185ec05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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