diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c7d391..2fcc219 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,9 +60,10 @@ jobs: --health-retries 5 ports: - 5432:5432 + # Hostname must match `services:` id. `localhost` breaks Gitea act_runner (Docker job). env: - DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test - TEST_DATABASE_URL: postgresql://postgres:postgres@localhost:5432/test + DATABASE_URL: postgresql://postgres:postgres@postgres:5432/test + TEST_DATABASE_URL: postgresql://postgres:postgres@postgres:5432/test steps: - name: Checkout code uses: actions/checkout@v4