From a106be9ef3bdf8ba4802fb692d7868a8d07b859b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 21:04:17 -0500 Subject: [PATCH] Update drupal/core dev dep requirement to allow ^11.0 (#110) * Update drupal/core-composer-scaffold requirement from ^10.1 to ^11.0 Updates the requirements on [drupal/core-composer-scaffold](https://github.com/drupal/core-composer-scaffold) to permit the latest version. - [Commits](https://github.com/drupal/core-composer-scaffold/compare/10.1.0...11.0.1) --- updated-dependencies: - dependency-name: drupal/core-composer-scaffold dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Setup PHP based on matrix * Add PHP 8.1 matrix back * Allow ^11.0 drupal core dev deps * Remove deprecated --no-suggest option in composer install CI step --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Richard B. Porter --- .github/workflows/ci.yml | 9 +++++++-- composer.json | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41d9933..c4bf884 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,15 +15,20 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [8.2, 8.3] + php: [8.1, 8.2, 8.3] steps: - uses: actions/checkout@v4 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + coverage: none - name: Start MySQL run: sudo /etc/init.d/mysql start - name: Validate composer.json run: composer validate --strict - name: Install dependencies - run: composer install --prefer-dist --no-scripts --no-suggest --no-interaction + run: composer install --prefer-dist --no-scripts --no-interaction - name: Ignore PHPCS warnings run: ./vendor/bin/phpcs --config-set ignore_warnings_on_exit 1 - name: Install drupal diff --git a/composer.json b/composer.json index 09f959d..418cec8 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,9 @@ "drush/drush": "^12.2 || ^13.0" }, "require-dev": { - "drupal/core-recommended": "^10.2", - "drupal/core-composer-scaffold": "^10.2", - "drupal/core-dev": "^10.2" + "drupal/core-recommended": "^10.2 || ^11.0", + "drupal/core-composer-scaffold": "^10.2 || ^11.0", + "drupal/core-dev": "^10.2 || ^11.0" }, "autoload-dev": { "psr-4": {