Skip to content

Commit

Permalink
CI: update DB versions
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Aug 6, 2024
1 parent 7e433df commit dbe9e8f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [8.0, 5.7]
version: [lts, 5.7]
runtime: [actix]
tls: [native-tls]
services:
Expand All @@ -354,7 +354,6 @@ jobs:
MYSQL_USER: sea
MYSQL_PASSWORD: sea
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_ROOT_PASSWORD:
ports:
- "3306:3306"
options: >-
Expand Down Expand Up @@ -392,23 +391,24 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [10.6]
version: [lts]
runtime: [actix]
tls: [native-tls]
services:
mysql:
mariadb:
image: mariadb:${{ matrix.version }}
env:
MYSQL_HOST: 127.0.0.1
MYSQL_DB: mysql
MYSQL_USER: sea
MYSQL_PASSWORD: sea
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_ROOT_PASSWORD:
MARIADB_HOST: 127.0.0.1
MARIADB_DB: mysql
MARIADB_USER: sea
MARIADB_PASSWORD: sea
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes
ports:
- "3306:3306"
options: >-
--health-cmd="mysqladmin ping"
--health-cmd="healthcheck.sh
--connect
--innodb_initialized"
--health-interval=10s
--health-timeout=5s
--health-retries=3
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [14, 15, 16]
version: [14, 16]
runtime: [tokio]
tls: [native-tls]
services:
Expand Down

0 comments on commit dbe9e8f

Please sign in to comment.