Skip to content

Commit bbf3b31

Browse files
committed
Merge branch 'release/3.1.0'
2 parents 1277a79 + 636eadb commit bbf3b31

File tree

3 files changed

+47
-29
lines changed

3 files changed

+47
-29
lines changed

.github/workflows/tests.yml

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ name: Tests
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches:
6+
- main
7+
- develop
68
pull_request:
7-
branches: [ main, develop ]
9+
branches:
10+
- main
11+
- develop
812

913
jobs:
1014
build:
@@ -15,26 +19,34 @@ jobs:
1519
fail-fast: true
1620
matrix:
1721
php: [8.2, 8.3, 8.4]
22+
laravel: [11, 12]
23+
phpunit: ['10.5', '11.0']
1824

1925
steps:
20-
- name: Checkout Code
21-
uses: actions/checkout@v4
22-
23-
- name: Setup PHP
24-
uses: shivammathur/setup-php@v2
25-
with:
26-
php-version: ${{ matrix.php }}
27-
extensions: dom, curl, libxml, mbstring, zip
28-
tools: composer:v2
29-
coverage: none
30-
ini-values: error_reporting=E_ALL
31-
32-
- name: Install dependencies
33-
uses: nick-fields/retry@v3
34-
with:
35-
timeout_minutes: 5
36-
max_attempts: 5
37-
command: composer update --prefer-dist --no-interaction --no-progress
38-
39-
- name: Execute tests
40-
run: vendor/bin/phpunit
26+
- name: Checkout Code
27+
uses: actions/checkout@v4
28+
29+
- name: Setup PHP
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: ${{ matrix.php }}
33+
extensions: dom, curl, libxml, mbstring, zip
34+
tools: composer:v2
35+
coverage: none
36+
ini-values: error_reporting=E_ALL
37+
38+
- name: Set Laravel Version
39+
run: composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-update
40+
41+
- name: Set PHPUnit Version
42+
run: composer require "phpunit/phpunit:^${{ matrix.phpunit }}" --no-update
43+
44+
- name: Install dependencies
45+
uses: nick-fields/retry@v3
46+
with:
47+
timeout_minutes: 5
48+
max_attempts: 5
49+
command: composer update --prefer-dist --no-interaction --no-progress
50+
51+
- name: Execute tests
52+
run: vendor/bin/phpunit

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. This projec
55

66
## Unreleased
77

8+
## [3.1.0] - 2025-02-24
9+
10+
### Added
11+
12+
- Package now supports Laravel 11 and 12.
13+
814
## [3.0.2] - 2024-11-30
915

1016
### Changed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
"require": {
2626
"php": "^8.2",
2727
"ext-json": "*",
28-
"cloudcreativity/json-api-testing": "^6.0.1",
29-
"illuminate/http": "^11.0",
30-
"illuminate/support": "^11.0",
31-
"illuminate/testing": "^11.0"
28+
"cloudcreativity/json-api-testing": "^6.1",
29+
"illuminate/http": "^11.0|^12.0",
30+
"illuminate/support": "^11.0|^12.0",
31+
"illuminate/testing": "^11.0|^12.0"
3232
},
3333
"require-dev": {
34-
"laravel/framework": "^11.0",
35-
"phpunit/phpunit": "^10.5"
34+
"laravel/framework": "^11.0|^12.0",
35+
"phpunit/phpunit": "^10.5|^11.0"
3636
},
3737
"autoload": {
3838
"psr-4": {

0 commit comments

Comments
 (0)