From e7d95e934c9a4fbb5f2919cf3410c210cf68bcad Mon Sep 17 00:00:00 2001 From: LordMathis Date: Sat, 26 Jul 2025 16:41:09 +0200 Subject: [PATCH] Create webui dist directory in test workflow --- .github/workflows/go_test.yaml | 6 ++++-- webui/webui.go | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go_test.yaml b/.github/workflows/go_test.yaml index dee29ae..ca3ac3e 100644 --- a/.github/workflows/go_test.yaml +++ b/.github/workflows/go_test.yaml @@ -27,7 +27,9 @@ jobs: with: go-version: "1.24" cache: true + - name: Create empty webui dist directory + run: mkdir -p webui/dist && touch webui/dist/.gitkeep - name: Run Tests - run: go test -tags=test ./... -v + run: go test ./... -v - name: Run Tests with Race Detector - run: go test -tags=test -race ./... -v \ No newline at end of file + run: go test -race ./... -v \ No newline at end of file diff --git a/webui/webui.go b/webui/webui.go index ead5d1f..9be1828 100644 --- a/webui/webui.go +++ b/webui/webui.go @@ -1,5 +1,3 @@ -//go:build !test - package webui import (