Skip to content

Commit 9033910

Browse files
ci: update PHP version strategy 8.2 and 8.3
1 parent cadb5d4 commit 9033910

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
PHP_VERSION: 8.3
1211
PHP_EXTENSIONS: mbstring
1312
PHP_TOOLS: composer:v2, phpunit:11
1413
REDE_PV: ${{ secrets.REDE_PV }}
@@ -23,14 +22,19 @@ jobs:
2322
run-tests:
2423
if: ${{ !github.event.pull_request.draft }}
2524
runs-on: ubuntu-latest
25+
26+
strategy:
27+
matrix:
28+
php-version: ["8.2", "8.3"]
29+
2630
steps:
2731
- uses: actions/checkout@v6
2832

29-
- name: Install PHP ${{ env.PHP_VERSION }}
33+
- name: Setup PHP ${{ matrix.php-version }}
3034
uses: shivammathur/setup-php@v2
3135
with:
3236
coverage: none
33-
php-version: ${{ env.PHP_VERSION }}
37+
php-version: ${{ matrix.php-version }}
3438
extensions: ${{ env.PHP_EXTENSIONS }}
3539
tools: ${{ env.PHP_TOOLS }}
3640

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "silbeckdevs/erede-php",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "e.Rede integration SDK",
55
"minimum-stability": "stable",
66
"license": "MIT",
@@ -12,7 +12,7 @@
1212
"psr/log": "*"
1313
},
1414
"require-dev": {
15-
"phpunit/phpunit": "^12.4.5",
15+
"phpunit/phpunit": "^11.0 || ^12.0",
1616
"phpstan/phpstan": "^1.12.32",
1717
"kint-php/kint": "^6.1.0",
1818
"monolog/monolog": "^3.9.0",

0 commit comments

Comments
 (0)