From 6c9995e56a262816699de14e626bf291db4e8ab8 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 14 Nov 2023 03:09:55 +0100 Subject: [PATCH] GH Actions: minor tweaks * Update a URL which is no longer valid. * Ensure all steps have a name. --- .github/workflows/basics.yml | 7 ++++--- .github/workflows/quicktest.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/basics.yml b/.github/workflows/basics.yml index 35e57232..50c1d832 100644 --- a/.github/workflows/basics.yml +++ b/.github/workflows/basics.yml @@ -40,7 +40,8 @@ jobs: # Show XML violations inline in the file diff. # @link https://github.com/marketplace/actions/xmllint-problem-matcher - - uses: korelstar/xmllint-problem-matcher@v1 + - name: Enable showing XML issues inline + uses: korelstar/xmllint-problem-matcher@v1 # Validate the composer.json file. # @link https://getcomposer.org/doc/03-cli.md#validate @@ -52,7 +53,7 @@ jobs: run: composer require --no-update --no-scripts squizlabs/php_codesniffer:"dev-master" --no-interaction # Install dependencies and handle caching in one go. - # @link https://github.com/marketplace/actions/install-composer-dependencies + # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer - name: Install Composer dependencies uses: "ramsey/composer-install@v2" with: @@ -95,7 +96,7 @@ jobs: # Install dependencies and handle caching in one go. # Dependencies need to be installed to make sure the PHPCS and PHPUnit classes are recognized. - # @link https://github.com/marketplace/actions/install-composer-dependencies + # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer - name: Install Composer dependencies uses: "ramsey/composer-install@v2" with: diff --git a/.github/workflows/quicktest.yml b/.github/workflows/quicktest.yml index 96131998..fb001fa6 100644 --- a/.github/workflows/quicktest.yml +++ b/.github/workflows/quicktest.yml @@ -52,7 +52,7 @@ jobs: coverage: none # Install dependencies and handle caching in one go. - # @link https://github.com/marketplace/actions/install-composer-dependencies + # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer - name: Install Composer dependencies - normal if: ${{ startsWith( matrix.php, '8' ) == false && matrix.php != 'latest' }} uses: "ramsey/composer-install@v2" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72dcada6..09e0c856 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -123,7 +123,7 @@ jobs: wp-coding-standards/wpcs:"dev-develop" # Install dependencies and handle caching in one go. - # @link https://github.com/marketplace/actions/install-composer-dependencies + # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer - name: Install Composer dependencies - normal if: ${{ startsWith( matrix.php, '8' ) == false }} uses: "ramsey/composer-install@v2"