From 756e2eda0e99736d17636362fd0cb8753220ec22 Mon Sep 17 00:00:00 2001 From: Patrick Hermann Date: Sat, 24 Oct 2026 19:54:00 +0000 Subject: [PATCH] fix(call-golang-validation): build the binary into bin/ go build -o fails when the repo has a directory of that name (e.g. claims/claims). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/call-golang-validation.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/call-golang-validation.yaml b/.github/workflows/call-golang-validation.yaml index 4ad5ab0..0066518 100644 --- a/.github/workflows/call-golang-validation.yaml +++ b/.github/workflows/call-golang-validation.yaml @@ -126,8 +126,9 @@ jobs: - name: Build go binary run: | go mod tidy - CGO_ENABLED=0 go build -buildvcs=false -o ${{ inputs.module-name }} - du -sh ./${{ inputs.module-name }} + # into bin/: a repo may have a directory named like the module + CGO_ENABLED=0 go build -buildvcs=false -o bin/${{ inputs.module-name }} + du -sh ./bin/${{ inputs.module-name }} echo "SEVERITY=SUCCESS" >> $GITHUB_ENV - name: Set homerun values