diff --git a/.github/workflows/tests.yml b/.github/workflows/test.yml similarity index 89% rename from .github/workflows/tests.yml rename to .github/workflows/test.yml index 8d96243..470b219 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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') }} @@ -74,7 +71,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 @@ -82,7 +79,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') }} @@ -90,7 +87,7 @@ jobs: - name: Cache NPM dependencies id: npm-cache - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-npm-cache @@ -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 @@ -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 @@ -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 diff --git a/composer.json b/composer.json index f3dbcda..d06c23a 100644 --- a/composer.json +++ b/composer.json @@ -16,8 +16,7 @@ ], "require": { "php": ">=7.2", - "drupal/coder": "^8.3", - "symfony/yaml": "^3.4" + "drupal/coder": "^8.3" }, "config": { "allow-plugins": {