From b31c6e46f95ac83de9910f417ed7c13195530816 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Wed, 8 Apr 2026 09:30:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20use=20correct=20workspace?= =?UTF-8?q?=20path=20for=20Swagger=20docs=20generation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update working directory to full repository path - Set GOPATH to match repository root - Fixes go.mod file not found error in CI workflow --- .gitea/workflows/ci-cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 2946550..f41922e 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -167,7 +167,7 @@ jobs: run: echo "DEPS_HASH=${{ needs.build-cache.outputs.deps_hash }}" >> $GITHUB_ENV - name: Generate Swagger Docs using Docker Compose - run: docker compose -f docker-compose.build.yml run --rm -w /workspace/pkg/server -e GOPATH=/workspace build-cache sh -c "go generate" + run: docker compose -f docker-compose.build.yml run --rm -w /workspace/arcodange/dance-lessons-coach/pkg/server -e GOPATH=/workspace/arcodange/dance-lessons-coach build-cache sh -c "go generate" - name: Build all packages using Docker Compose run: docker compose -f docker-compose.build.yml run --rm -w /workspace build-cache sh -c "go build ./..."