Skip to content

Commit 37344e5

Browse files
jrfnlgrogy
authored andcommitted
GH Actions: update PHP versions in workflows
PHP 8.2 has been released today 🎉 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.
1 parent 4151921 commit 37344e5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/cs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install PHP
2525
uses: shivammathur/setup-php@v2
2626
with:
27-
php-version: '7.4'
27+
php-version: 'latest'
2828
coverage: none
2929
tools: cs2pr
3030

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ jobs:
2929
- '7.3'
3030
- '7.4'
3131
- '8.0'
32-
# PHP 8.1 is tested in coverage section
32+
- '8.1'
33+
# PHP 8.2 is tested in coverage section
3334
experimental: [false]
3435

3536
include:
36-
- php: '8.2'
37+
- php: '8.3'
3738
experimental: true
3839

3940
name: "Test on PHP ${{ matrix.php }}"
@@ -79,7 +80,7 @@ jobs:
7980
matrix:
8081
include:
8182
- php: 5.3
82-
- php: 8.1
83+
- php: 8.2
8384
name: "Coverage on PHP ${{ matrix.php }}"
8485
steps:
8586
- name: Checkout code
@@ -129,7 +130,7 @@ jobs:
129130
# Global installing is used for compatibility with composer.lock in PHP 5.3
130131
- name: Install Coveralls
131132
if: ${{ success() }}
132-
run: composer global require php-coveralls/php-coveralls:"^2.4.2" --no-interaction
133+
run: composer global require php-coveralls/php-coveralls:"^2.5.3" --no-interaction
133134

134135
- name: Upload coverage results to Coveralls
135136
if: ${{ success() }}

0 commit comments

Comments
 (0)