Skip to content

Commit f52dbf0

Browse files
committed
fix: update DB_HOST to use localhost for CI workflow
1 parent 1c653b4 commit f52dbf0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ master ]
99

1010
env:
11-
DB_HOST: mysql
11+
DB_HOST: 127.0.0.1
1212
DB_USER: api_user
1313
DB_PASSWORD: api_password
1414
DB_NAME: rest_api_db
@@ -25,8 +25,6 @@ jobs:
2525
MYSQL_DATABASE: ${{ env.DB_NAME }}
2626
MYSQL_USER: ${{ env.DB_USER }}
2727
MYSQL_PASSWORD: ${{ env.DB_PASSWORD }}
28-
ports:
29-
- 3306:3306
3028
steps:
3129
- name: Set up Go 1.x
3230
uses: actions/setup-go@v2

0 commit comments

Comments
 (0)