From eb9f671036f629c0613c53a0c128a9bab6e23ddd Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Mon, 23 Mar 2026 21:06:47 +0100 Subject: [PATCH] build: fix keeper build not using correct working directory (#574) The exec.Cmd created for each keeper target was missing the Dir field, causing the build to run from the repo root instead of ./cmd/keeper. This meant compilation errors in cmd/keeper were silently ignored. Co-authored-by: tellabg <249254436+tellabg@users.noreply.github.com> --- build/ci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ci.go b/build/ci.go index 832c724438..63bc48821f 100644 --- a/build/ci.go +++ b/build/ci.go @@ -311,7 +311,7 @@ func doInstallKeeper(cmdline []string) { args := slices.Clone(gobuild.Args) args = append(args, "-o", executablePath(outputName)) args = append(args, ".") - build.MustRun(&exec.Cmd{Path: gobuild.Path, Args: args, Env: gobuild.Env}) + build.MustRun(&exec.Cmd{Path: gobuild.Path, Args: args, Env: gobuild.Env, Dir: gobuild.Dir}) } }