Skip to content

Commit

Permalink
Update drupal/core dev dep requirement to allow ^11.0 (#110)
Browse files Browse the repository at this point in the history
* 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](drupal/core-composer-scaffold@10.1.0...11.0.1)

---
updated-dependencies:
- dependency-name: drupal/core-composer-scaffold
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Richard B. Porter <richardbporter@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and richardbporter authored Sep 5, 2024
1 parent 726ccf2 commit a106be9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit a106be9

Please sign in to comment.