Skip to content

Commit 2f9e81f

Browse files
authored
feat: switch to PGVector 16 as main postgres db
1 parent 4dee350 commit 2f9e81f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/actions/build-node-python/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ runs:
119119
pip --version
120120
uv --version
121121
shell: bash
122+
- name: Install pgvector
123+
if: inputs.enable_python == 'true'
124+
run: |
125+
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
126+
sudo apt-get install postgresql-16-pgvector
122127
# General
123128
- name: Git config
124129
if: inputs.github_ro_token != ''

.github/workflows/build-node-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201

202202
services:
203203
postgres:
204-
image: postgres:14
204+
image: pgvector/pgvector:pg16
205205
env:
206206
POSTGRES_USER: admin
207207
POSTGRES_PASSWORD: admin
@@ -340,7 +340,7 @@ jobs:
340340

341341
services:
342342
postgres:
343-
image: postgres:14
343+
image: pgvector/pgvector:pg16
344344
env:
345345
POSTGRES_USER: admin
346346
POSTGRES_PASSWORD: admin

0 commit comments

Comments
 (0)