Skip to content

Commit ab1cf16

Browse files
Update ci.yml
1 parent b79dfad commit ab1cf16

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414

15-
# services:
16-
# postgres:
17-
# image: postgres:16.3
18-
# ports:
19-
# - 5432:5432
20-
# env:
21-
# POSTGRES_USER: postgres
22-
# POSTGRES_PASSWORD: postgres
23-
# POSTGRES_DB: orderdb
24-
# options: >-
25-
# --health-cmd "pg_isready -U postgres -d orderdb"
15+
services:
16+
postgres:
17+
image: postgres:16.3
18+
ports:
19+
- 5432:5432
20+
env:
21+
POSTGRES_USER: postgres
22+
POSTGRES_PASSWORD: postgres
23+
POSTGRES_DB: orderdb
24+
options: >-
25+
--health-cmd "pg_isready -U postgres -d orderdb"
2626
2727
steps:
28-
- uses: action/checkout@v4
28+
- uses: actions/checkout@v4
2929

3030
- name: Setup JDK 17
31-
uses: action/setup-java@v4
31+
uses: actions/setup-java@v4
3232
with:
3333
java-version: '17'
3434
distributer: 'temurin'

0 commit comments

Comments
 (0)