🐛 fix: simplify Swagger docs generation command

- Remove complex working directory and GOPATH settings

- Use simple cd and package path approach

- Matches local working command structure
This commit is contained in:
2026-04-08 09:31:12 +02:00
parent b31c6e46f9
commit b5cc67642f

View File

@@ -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/arcodange/dance-lessons-coach/pkg/server -e GOPATH=/workspace/arcodange/dance-lessons-coach build-cache sh -c "go generate"
run: docker compose -f docker-compose.build.yml run --rm build-cache sh -c "cd /workspace/arcodange/dance-lessons-coach && go generate ./pkg/server/"
- 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 ./..."