Skip to content

Commit fcb5e44

Browse files
authored
feat: drop support for EOL releases (#358)
* ci: add testing for PHP 8.4 and 8.5 * chore(deps): add support for PHP-JWT 7.x * ci: drop support for EOL releases
1 parent b014686 commit fcb5e44

File tree

2 files changed

+15
-32
lines changed

2 files changed

+15
-32
lines changed

.github/workflows/run-tests.yml

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,50 +11,32 @@ jobs:
1111
strategy:
1212
fail-fast: true
1313
matrix:
14-
os: [ubuntu-latest, windows-latest]
15-
php: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
16-
laravel: [8.x, 9.x, 10.x, 11.x, 12.x]
17-
dependency-version: [prefer-stable]
14+
os: [ ubuntu-latest, windows-latest ]
15+
php: [ "8.2", "8.3", "8.4", "8.5" ]
16+
laravel: [ 11.x, 12.x ]
17+
dependency-version: [ prefer-stable ]
1818
exclude:
19-
- laravel: 9.x
20-
php: 7.3
21-
- laravel: 10.x
22-
php: 7.3
23-
- laravel: 11.x
24-
php: 7.3
25-
- laravel: 12.x
26-
php: 7.3
27-
- laravel: 9.x
28-
php: 7.4
29-
- laravel: 10.x
30-
php: 7.4
31-
- laravel: 11.x
32-
php: 7.4
33-
- laravel: 12.x
34-
php: 7.4
35-
- laravel: 9.x
36-
php: 8.0
37-
- laravel: 10.x
38-
php: 8.0
39-
- laravel: 11.x
40-
php: 8.0
41-
- laravel: 12.x
42-
php: 8.0
4319
- laravel: 10.x
4420
php: 8.1
4521
- laravel: 11.x
4622
php: 8.1
4723
- laravel: 12.x
4824
php: 8.1
25+
- laravel: 10.x
26+
php: 8.4
27+
- laravel: 10.x
28+
php: 8.5
29+
- laravel: 11.x
30+
php: 8.5
4931

5032
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
5133

5234
steps:
5335
- name: Checkout code
54-
uses: actions/checkout@v2
36+
uses: actions/checkout@v6
5537

5638
- name: Cache dependencies
57-
uses: actions/cache@v2
39+
uses: actions/cache@v5
5840
with:
5941
path: ~/.composer/cache/files
6042
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
@@ -70,5 +52,6 @@ jobs:
7052
run: |
7153
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
7254
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
55+
7356
- name: Execute tests
7457
run: vendor/bin/phpspec

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
],
2020
"require": {
2121
"php": "~7.2 || ~8.0",
22-
"firebase/php-jwt": "^5.2|~6.0",
22+
"firebase/php-jwt": "^5.2|~6.0|~7.0",
2323
"illuminate/cache": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
2424
"illuminate/contracts": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
2525
"illuminate/config": "~6.0|~7.0|~8.0|~9.0|~10.0|~11.0|~12.0",
@@ -29,7 +29,7 @@
2929
"guzzlehttp/guzzle": "~6.0|~7.0"
3030
},
3131
"require-dev": {
32-
"phpspec/phpspec": "~6.0|~7.0"
32+
"phpspec/phpspec": "~6.0|~7.0|^8.0"
3333
},
3434
"autoload": {
3535
"psr-4": {

0 commit comments

Comments
 (0)