From 540e642d8eda1eaa7f594fc7ae04367f9c987520 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 9 Dec 2022 02:11:34 +0100 Subject: [PATCH] GH Actions: update PHP versions in workflows PHP 8.2 has been released today :tada: and the `setup-php` action has announced support for PHP 8.3, so adding PHP 8.3 to the matrix and no longer allowing PHP 8.2 to fail the build. Builds against PHP 8.3 are still allowed to fail for now. Includes minor tweak setting PHP to `latest` for tasks where the PHP version isn't that relevant. --- .github/workflows/cs.yml | 2 +- .github/workflows/test.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index 0afeebd..0c6da47 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -24,7 +24,7 @@ jobs: - name: Install PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: 'latest' coverage: none tools: cs2pr diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1ebcfd..89907a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,10 +30,11 @@ jobs: # PHP 7.4 is tested in coverage section - '8.0' - '8.1' + - '8.2' experimental: [false] include: - - php: '8.2' + - php: '8.3' experimental: true name: "Test on PHP ${{ matrix.php }}"