Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions .github/workflows/tests.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ jobs:
RUN: [1, 2]
include:
- RUN: 1
DRUPAL_TESTING_DRUPAL_VERSION: '~10.0'
PHP_VERSION: '8.1'
- RUN: 2
DRUPAL_TESTING_DRUPAL_VERSION: '~10.0'
PHP_VERSION: '8.2'
DRUPAL_TESTING_DRUPAL_VERSION: '~11.3.10'
PHP_VERSION: '8.4'

steps:
- uses: actions/checkout@v1
Expand All @@ -44,7 +41,7 @@ jobs:
sudo /etc/init.d/mysql start

- name: Cache composer dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-cache-${{ hashFiles('**/composer.json') }}
Expand Down Expand Up @@ -74,23 +71,23 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.1'
php-version: '8.3'
extensions: gd, pdo_mysql

- name: Start MySql service
run: |
sudo /etc/init.d/mysql start

- name: Cache composer dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.composer/cache
key: ${{ runner.os }}-composer-cache-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-cache-

- name: Cache NPM dependencies
id: npm-cache
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-cache
Expand All @@ -110,7 +107,7 @@ jobs:
run: cd /tmp; tar cfz build.tgz test; mv build.tgz ${GITHUB_WORKSPACE}

- name: Upload build
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: build
path: build.tgz
Expand All @@ -126,7 +123,7 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.1'
php-version: '8.3'
extensions: gd, pdo_mysql

- name: Start MySql service
Expand All @@ -139,7 +136,7 @@ jobs:
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH

- name: Download build
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: build

Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
],
"require": {
"php": ">=7.2",
"drupal/coder": "^8.3",
"symfony/yaml": "^3.4"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need the yaml dependency?

"drupal/coder": "^8.3"
},
"config": {
"allow-plugins": {
Expand Down
Loading