Use mysql 8.0 image on CI
This commit is contained in:
parent
6f6ef4bf95
commit
f94d19b702
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
image: mysql:8.0
|
||||
env:
|
||||
MYSQL_HOST: 127.0.0.1
|
||||
MYSQL_DB: mysql
|
||||
@ -27,7 +27,7 @@ jobs:
|
||||
MYSQL_ROOT_PASSWORD:
|
||||
ports:
|
||||
- "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:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user