diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d298d14..89f97d9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,18 +45,10 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - - name: Debug DNS Resolution - run: | - nslookup postgres - cat /etc/resolv.conf - - - name: Check PostgreSQL availability - run: ping -c 1 -W 5 postgres >/dev/null || { echo "Server is not reachable."; exit 1; } - - name: Build run: mvn -B -ntp clean install env: - POSTGRES_HOST: postgres + POSTGRES_HOST: localhost POSTGRES_PORT: 5432 POSTGRES_USER: ci-user POSTGRES_PASSWORD: ci-pass