From ada29e773fe86d71598710c33bfc001482694998 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Thu, 23 Mar 2023 13:06:53 +0000 Subject: [PATCH] feat: using matrix from mysql --- .github/workflows/pull_request.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 64d1f61..c63a1fb 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -17,6 +17,9 @@ on: jobs: # This workflow contains a single job called "build" build: + strategy: + matrix: + MYSQL_VERSION: [5.7, 8.0] # The type of runner that the job will run on runs-on: ubuntu-latest @@ -29,7 +32,7 @@ jobs: uses: mirromutth/mysql-action@v1.1 with: mysql root password: "root" - mysql version: "${{ inputs.MYSQL_VERSION }}" + mysql version: "${{ matrix.MYSQL_VERSION }}" - name: Injecting credentials run: |