diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c821317..35bced8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,6 +11,17 @@ jobs: build: runs-on: ubuntu-latest + services: + postgres: + image: postgres:16 + env: + POSTGRES_USER: feedvault + POSTGRES_PASSWORD: feedvault + POSTGRES_DB: feedvault + ports: + - 5432:5432 + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + steps: - uses: actions/checkout@v4 diff --git a/.vscode/settings.json b/.vscode/settings.json index a952b70..c4fe476 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -31,6 +31,7 @@ "homerouter", "hotspot", "huaweimobilewifi", + "isready", "jackc", "ldflags", "leftright",