Skip to content

Commit c7074dd

Browse files
authored
fix(ci): restore Drupal CI and update to supported versions (#889)
1 parent b9e245a commit c7074dd

1 file changed

Lines changed: 7 additions & 16 deletions

File tree

.github/workflows/next.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,15 @@ jobs:
1414
matrix:
1515
# Supported PHP versions: https://www.drupal.org/docs/getting-started/system-requirements/php-requirements
1616
php:
17-
- "8.1"
1817
- "8.2"
1918
- "8.3"
20-
# Supported Drupal versions: https://www.drupal.org/project/drupal
19+
# Supported Drupal versions: https://www.drupal.org/about/core/policies/core-release-cycles/schedule
2120
drupal:
22-
- "10.0.x"
23-
- "10.1.x"
24-
- "10.2.x"
25-
- "10.3.x"
26-
- "11.0.x"
21+
- "10.5.x"
22+
- "10.6.x"
23+
- "11.2.x"
2724
exclude:
28-
- drupal: "10.0.x"
29-
php: "8.3"
30-
- drupal: "10.1.x"
31-
php: "8.3"
32-
- drupal: "11.0.x"
33-
php: "8.1"
34-
- drupal: "11.0.x"
25+
- drupal: "11.2.x"
3526
php: "8.2"
3627
name: Drupal ${{ matrix.drupal }} - PHP ${{ matrix.php }}
3728
services:
@@ -75,8 +66,8 @@ jobs:
7566
composer config repositories.0 path $GITHUB_WORKSPACE
7667
composer config repositories.1 composer https://packages.drupal.org/8
7768
composer config allow-plugins true -n
78-
COMPOSER_MEMORY_LIMIT=-1 composer require drupal/core-dev --no-install
79-
composer install
69+
composer config audit.block-insecure false
70+
COMPOSER_MEMORY_LIMIT=-1 composer require drupal/core-dev-pinned:${{ matrix.drupal }} drupal/coder -W
8071
- name: Run phpcs
8172
run: |
8273
~/drupal/vendor/bin/phpcs -p -s --colors --standard=modules/next/phpcs.xml modules/next

0 commit comments

Comments
 (0)