Skip to content

Commit

Permalink
add L11
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Jun 25, 2024
1 parent f3aceb7 commit 9949de8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.1, 8.0, 7.4]
laravel: [8.*, 9.*, 10.*]
php: [8.3, 8.2, 8.1, 8.0, 7.4]
laravel: [8.*, 9.*, 10.*, 11.*]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 9.*
Expand All @@ -22,22 +22,17 @@ jobs:
php: 7.4
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 7.4
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1

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

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
keys: |
dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-
dependencies-laravel-${{ matrix.laravel }}-php-
dependencies-laravel-
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -50,5 +45,4 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
- run: vendor/bin/phpunit
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"php": "^7.4 || ^8.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.0.1",
"illuminate/collections": "^8.0 || ^9.0 || ^10.0",
"illuminate/http": "^8.0 || ^9.0 || ^10.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0"
"illuminate/collections": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/http": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0"
},
"require-dev": {
"gajus/dindent": "^2.0",
"orchestra/testbench": "^6.25 || ^7.0 || ^8.0",
"phpunit/phpunit": "^9.3"
"orchestra/testbench": "^6.25 || ^7.0 || ^8.0 || ^9.0",
"phpunit/phpunit": "^9.3 || ^10.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 9949de8

Please sign in to comment.