🐛 fix: make both docker compose commands consistent
- Add cd command to both steps - Use same working directory pattern - Ensures consistent volume mount behavior
This commit is contained in:
@@ -167,10 +167,10 @@ jobs:
|
||||
run: echo "DEPS_HASH=${{ needs.build-cache.outputs.deps_hash }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Generate Swagger Docs using Docker Compose
|
||||
run: cd /workspace/arcodange/dance-lessons-coach && docker compose -f docker-compose.build.yml run --rm build-cache sh -c "go generate ./pkg/server/"
|
||||
run: cd /workspace/arcodange/dance-lessons-coach && docker compose -f docker-compose.build.yml run --rm -w /workspace build-cache sh -c "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 ./..."
|
||||
run: cd /workspace/arcodange/dance-lessons-coach && docker compose -f docker-compose.build.yml run --rm -w /workspace build-cache sh -c "go build ./..."
|
||||
|
||||
|
||||
- name: Wait for PostgreSQL to be ready
|
||||
|
||||
Reference in New Issue
Block a user