From 04a8835d7e64448497cf785afbd53ae4b5489e7c Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sat, 6 Jun 2026 08:17:32 +0100 Subject: [PATCH] fix(ci): add 'go mod tidy' before ./ci-build.sh in the Linux Build step of build.yml (mirrors the test job and release workflow; ensures complete go.sum for 'make build' / go build in the push-triggered Build flow) --- .gitea/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index aebd7e6..ce90ef1 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -57,7 +57,10 @@ jobs: run: go mod download - name: Linux Build - run: ./ci-build.sh + run: | + go mod tidy + ./ci-build.sh + # go mod tidy (like in test job and release build) ensures go.sum is fully populated for this Go version before the make build / go build, fixing "missing go.sum entry" for legacy deps (configparser, wmenu) and TUI deps (charmbracelet/*) - name: Verify binary run: |