@@ -12,10 +12,14 @@ jobs:
1212 strategy :
1313 matrix :
1414 include :
15+ # curl https://registry.hub.docker.com/v2/repositories/library/mysql/tags\?page_size\=10000 | jq '.results[].name
1516 - { version: '8.0', icon: 🐬, name: MySQL, image: mysql }
1617 - { version: '5.7', icon: 🐬, name: MySQL, image: mysql }
1718 - { version: '5.6', icon: 🐬, name: MySQL, image: mysql }
1819 - { version: '5.5', icon: 🐬, name: MySQL, image: mysql }
20+ # https://registry.hub.docker.com/v2/repositories/library/mariadb/tags\?page_size\=10000 | jq '.results[].name'
21+ - { version: '11.0', icon: 🦭, name: MariaDB, image: mariadb }
22+ - { version: '10.9', icon: 🦭, name: MariaDB, image: mariadb }
1923 - { version: '10.6', icon: 🦭, name: MariaDB, image: mariadb }
2024 - { version: '10.5', icon: 🦭, name: MariaDB, image: mariadb }
2125 - { version: '10.4', icon: 🦭, name: MariaDB, image: mariadb }
@@ -33,17 +37,17 @@ jobs:
3337 image : " ${{ matrix.image }}:${{ matrix.version }}"
3438 env : { MYSQL_ALLOW_EMPTY_PASSWORD: yes }
3539 ports : [ 3306 ]
36- options : --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
40+ options : --health-cmd="healthcheck.sh --innodb_initialized || mysqladmin ping --protocol=tcp " --health-interval=5s --health-timeout=2s --health-retries=3
3741 steps :
38- - uses : actions/checkout@v2
42+ - uses : actions/checkout@v3
3943 - name : Setup Clients
4044 run : .github/ubuntu/mysql.sh
4145 - name : Setup Perl
4246 id : perl
4347 uses : shogo82148/actions-setup-perl@v1
4448 with : { perl-version: latest }
4549 - name : Cache CPAN Modules
46- uses : actions/cache@v2
50+ uses : actions/cache@v3
4751 with :
4852 path : local
4953 key : perl-${{ steps.perl.outputs.perl-hash }}
0 commit comments