From 638e39a7053fdde41cc851c425648a7886979ffa Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Thu, 30 May 2024 22:46:27 -0300 Subject: [PATCH] Minor tweak --- .github/workflows/tests.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4da60b9..95991ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: matrix: php: ['7.4', '8.0', '8.1', '8.2', '8.3'] wp_version: ['latest'] - mysql: [8.0] + mysql: ['8.0'] include: - php: '7.4' wp_version: '6.1' @@ -31,12 +31,6 @@ jobs: - name: Check Gitignored files run: if [[ ! -z $(git ls-files -i --exclude-standard) ]]; then exit 1; fi - - name: Check existence of composer.json & behat.yml files - id: check_files - uses: andstor/file-existence-action@v2 - with: - files: "composer.json, behat.yml" - - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -52,9 +46,9 @@ jobs: id: setup-mysql uses: shogo82148/actions-setup-mysql@v1.34.0 with: + mysql-version: '${{ matrix.mysql }}' auto-start: true - distribution: "mysql" - mysql-version: "8.0" + distribution: 'mysql' root-password: root user: wp_cli_test password: password1