Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 9325f16

Browse files
Merge branch 'chore/laravel-9'
2 parents a209b3f + fd9d452 commit 9325f16

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ${{ matrix.os }}
11+
runs-on: ubuntu-latest
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
php: [8.0, 7.4, 7.3]
16-
laravel: [^8.0]
17-
dependency-version: [prefer-lowest, prefer-stable]
18-
os: [ubuntu-latest]
15+
php: [8.1, 8.0, 7.4, 7.3]
16+
laravel: [^8.0, ^9.0]
17+
exclude:
18+
- php: 7.3
19+
laravel: '^9.0'
20+
- php: 7.4
21+
laravel: '^9.0'
1922

20-
name: P${{ matrix.php }} - L${{ matrix.laravel }} ${{ matrix.dependency-version }} - ${{ matrix.os }}
23+
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2124

2225
steps:
2326
- name: Checkout code
@@ -38,8 +41,8 @@ jobs:
3841

3942
- name: Install dependencies
4043
run: |
41-
composer require "illuminate/container:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" "illuminate/database:${{ matrix.laravel }}" --no-interaction --no-update
42-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
44+
composer require "illuminate/contracts:${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
45+
composer update --prefer-dist --no-interaction --no-suggest
4346
4447
- name: Execute tests
4548
run: vendor/bin/phpunit

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"require": {
1414
"php": "^7.3|^8.0",
1515
"dyrynda/laravel-model-uuid": "^6.5",
16-
"illuminate/container": "^8.12",
17-
"illuminate/contracts": "^8.12",
18-
"illuminate/database": "^8.12",
16+
"illuminate/container": "^8.12|^9.0",
17+
"illuminate/contracts": "^8.12|^9.0",
18+
"illuminate/database": "^8.12|^9.0",
1919
"ramsey/uuid": "^4.1"
2020
},
2121
"require-dev": {
2222
"laravel/legacy-factories": "^1.1",
2323
"mockery/mockery": "^1.4.2",
24-
"orchestra/testbench": "^6.0",
24+
"orchestra/testbench": "^6.0|^7.0",
2525
"phpunit/phpunit": "^9.3"
2626
},
2727
"autoload": {

0 commit comments

Comments
 (0)