diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35f8e09..ff9c8dd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,12 +40,25 @@ jobs: # Complete the matrix, while preventing issues with PHPCS versions incompatible with certain PHP versions. - php: '8.3' phpcs_version: 'dev-master' + utils_version: 'dev-develop' - php: '8.3' phpcs_version: '3.8.0' + utils_version: 'dev-develop' + - php: '8.3' + phpcs_version: '3.8.0' + utils_version: '1.0.9' - php: '8.3' phpcs_version: '3.7.1' + utils_version: '1.0.9' + - php: '8.3' + phpcs_version: 'dev-master' + utils_version: '1.0.8' - php: '8.3' - phpcs_version: '3.7.0' + phpcs_version: '3.8.0' + utils_version: '1.0.8' + - php: '8.3' + phpcs_version: '3.7.1' + utils_version: '1.0.8' name: "Test${{ matrix.phpcs_version == 'dev-master' && ' + Lint' || '' }}: PHP ${{ matrix.php }} - PHPCS ${{ matrix.phpcs_version }}" @@ -85,7 +98,7 @@ jobs: # Set the PHPCS version to be used in the tests. composer require --no-update squizlabs/php_codesniffer:"${{ matrix.phpcs_version }}" --no-scripts --no-interaction # Set the PHPCSUtils version to be used in the tests. - composer require --no-update phpcsstandards/phpcsutils:"1.0.8" --no-scripts --no-interaction + composer require --dev --no-update phpcsstandards/phpcsutils:"${{ matrix.utils_version }}" --no-scripts --no-interaction # Remove the PHPCSDevCS dependency as it has different PHPCS requirements and would block installs. composer remove --no-update --dev phpcsstandards/phpcsdevcs --no-scripts --no-interaction