Skip to content

Commit 1dee715

Browse files
committed
updates php matrix, using flexible phpunit version
1 parent 3e6f38a commit 1dee715

File tree

3 files changed

+394
-358
lines changed

3 files changed

+394
-358
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: '15 22 2 * *'
7+
- cron: "15 22 2 * *"
88

99
env:
1010
OPENCAGE_API_KEY: ${{ secrets.GEO_CODER_OPENCAGE_API_KEY }}
@@ -14,15 +14,15 @@ jobs:
1414
strategy:
1515
matrix:
1616
# https://www.php.net/supported-versions.php
17-
php-version: ['8.2', '8.3', '8.4']
17+
php-version: ["8.1", "8.2", "8.3", "8.4", "8.5"]
1818

1919
name: PHP OpenCage Geocode
2020

2121
runs-on: ubuntu-latest
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
- name: Set up PHP ${{ matrix.php-version }}
2828
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"php": ">=8.0"
1919
},
2020
"require-dev": {
21-
"phpunit/phpunit": "~11.0",
21+
"phpunit/phpunit": "^10.5 || ^11.0 || ^12.0",
2222
"squizlabs/php_codesniffer": "^3.7",
2323
"phpstan/phpstan": "^2.0.0"
2424
},

0 commit comments

Comments
 (0)