Skip to content

Commit de78274

Browse files
author
rotimi
committed
Tweaked github action to stop using older unsupported ubuntu versions & to also test against PHP 8.4
1 parent 12f8d69 commit de78274

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
php: [8.3, 8.2, 8.1]
19+
php: [8.4, 8.3, 8.2, 8.1]
2020
# prefer-lowest is causing unit tests to fail when php 7.2 is run against PHPunit 7.x,
2121
# PHPUnit 8.x is the latest stable release that supports PHP 7.2 and that runs fine
2222
# dependency-version: [prefer-lowest, prefer-stable]
2323
dependency-version: [prefer-stable]
24-
os: [ubuntu-20.04, ubuntu-22.04]
25-
include:
26-
- os: ubuntu-20.04
27-
php: 8.1
28-
- os: ubuntu-22.04
29-
php: 8.1
30-
- os: ubuntu-22.04
31-
php: 8.2
24+
os: [ubuntu-latest]
25+
# include:
26+
# - os: ubuntu-20.04
27+
# php: 8.1
28+
# - os: ubuntu-22.04
29+
# php: 8.1
30+
# - os: ubuntu-22.04
31+
# php: 8.2
3232
# exclude:
3333
# - os: ubuntu-22.04
3434
# php: 7.4

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"require-dev": {
2525
"phpunit/phpunit": "^10.0",
2626
"php-coveralls/php-coveralls": "^2.0",
27-
"vimeo/psalm": "^5.4.0",
27+
"vimeo/psalm": "^5.4.0 || ^6.0.0",
2828
"rector/rector": "^1.0.0"
2929
},
3030
"autoload": {

0 commit comments

Comments
 (0)