3838 drupal-core :
3939 # Should update the following as the minimum supported version from Drupal.org
4040 - " 10.2.x"
41+ - " 10.3.x"
4142 instance-type :
4243 - " Edge"
4344 - " X"
9495 composer config --no-plugins allow-plugins.cweagans/composer-patches true
9596 composer config --no-plugins allow-plugins.php-http/discovery true
9697 composer config minimum-stability dev
97- composer require 'drupal/rules:3.x-dev@dev'
9898 composer require wikimedia/composer-merge-plugin
9999 composer config --json extra.merge-plugin.require '["modules/contrib/apigee_edge/composer.json"]'
100100 composer config platform.php ${{ matrix.php-version }}
@@ -104,6 +104,20 @@ jobs:
104104 composer require --dev drupal/classy:^1.0
105105 composer config --no-plugins allow-plugins.drupal/console-extend-plugin true
106106
107+ - name : " Allow plugins and dev dependencies for Drupal 10.2"
108+ if : ${{ matrix.drupal-core == '10.2.x' }}
109+ run : |
110+ cd drupal
111+ composer require 'drupal/rules:3.x-dev@dev'
112+ composer update --with-all-dependencies
113+
114+ - name : " Allow plugins and dev dependencies for Drupal 10.3"
115+ if : ${{ matrix.drupal-core == '10.3.x' }}
116+ run : |
117+ cd drupal
118+ composer require 'drupal/rules:^4.0'
119+ composer update --with-all-dependencies
120+
107121 # Install drupal using minimal installation profile and enable the module.
108122 - name : Install Drupal
109123 run : |
@@ -124,7 +138,8 @@ jobs:
124138 echo "APIGEE_EDGE_ENDPOINT=$APIGEE_EDGE_HYBRID_ENDPOINT" >> $GITHUB_ENV
125139 composer show > composer-show.txt
126140
127- - name : " Drupal check"
141+ - name : " Drupal check for Drupal 10.2"
142+ if : ${{ matrix.drupal-core == '10.2.x' }}
128143 run : |
129144 cd drupal
130145 vendor/bin/drupal-check modules/contrib/apigee_edge
0 commit comments