Use mysql 8.0 image on CI

This commit is contained in:
Sam Samai 2021-07-15 09:13:30 +10:00
parent 6f6ef4bf95
commit f94d19b702

View File

@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
services: services:
mysql: mysql:
image: mysql:5.7 image: mysql:8.0
env: env:
MYSQL_HOST: 127.0.0.1 MYSQL_HOST: 127.0.0.1
MYSQL_DB: mysql MYSQL_DB: mysql
@ -27,7 +27,7 @@ jobs:
MYSQL_ROOT_PASSWORD: MYSQL_ROOT_PASSWORD:
ports: ports:
- "3306:3306" - "3306:3306"
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=15s --health-retries=10 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2