diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 622da70..6e925fc 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -18,7 +18,7 @@ jobs: - name: Build with Docker Compose run: | - docker-compose build + docker compose build - name: Verify builds completed run: | @@ -28,7 +28,7 @@ jobs: - name: Test health endpoint readiness run: | # Start services in background - docker-compose up -d + docker compose up -d # Wait for services to be ready (max 5 minutes) timeout 300 bash -c 'until curl -f http://localhost:8000/memoryalpha/health > /dev/null 2>&1; do sleep 5; echo "Waiting for API..."; done' @@ -71,5 +71,5 @@ jobs: - name: Cleanup if: always() run: | - docker-compose down -v + docker compose down -v docker system prune -f diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 5e4ba8a..96e12f2 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -17,7 +17,7 @@ jobs: - name: Build with Docker Compose run: | - docker-compose build + docker compose build - name: Verify builds completed run: | @@ -27,7 +27,7 @@ jobs: - name: Test health endpoint readiness run: | # Start services in background - docker-compose up -d + docker compose up -d # Wait for services to be ready (max 5 minutes) timeout 300 bash -c 'until curl -f http://localhost:8000/memoryalpha/health > /dev/null 2>&1; do sleep 5; echo "Waiting for API..."; done' @@ -54,5 +54,5 @@ jobs: - name: Cleanup if: always() run: | - docker-compose down -v + docker compose down -v docker system prune -f