Skip to content

Commit cf0ecde

Browse files
committed
fix: setup postgres
1 parent 0f812d6 commit cf0ecde

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -182,15 +182,6 @@ jobs:
182182
- os: windows-2022
183183
- os: ubuntu-22.04
184184
- os: macos-14
185-
services:
186-
postgres:
187-
image: postgres:latest
188-
env:
189-
POSTGRES_USER: postgres
190-
POSTGRES_PASSWORD: postgres
191-
POSTGRES_DB: postgres
192-
ports:
193-
- 5432:5432
194185
steps:
195186
- name: Checkout PR branch
196187
uses: actions/checkout@v4
@@ -202,6 +193,8 @@ jobs:
202193
uses: moonrepo/setup-rust@v1
203194
with:
204195
cache-base: main
196+
- name: Setup Postgres
197+
uses: ./.github/actions/setup-postgres
205198
- name: Build main binary
206199
run: cargo build -p pgt_cli --release
207200
- name: Setup Bun

0 commit comments

Comments
 (0)