Skip to content

Commit

Permalink
Merge pull request #32 from Laravel-Lang/2.x
Browse files Browse the repository at this point in the history
Added Laravel 11 support
  • Loading branch information
andrey-helldar authored Mar 13, 2024
2 parents c437ead + 7d51afc commit 39ef333
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:
fail-fast: true
matrix:
php: [ "8.1", "8.2", "8.3" ]
laravel: [ "10.0" ]
prefer: [ "stable", "lowest" ]
laravel: [ "10.0", "11.0" ]
exclude:
- laravel: "11.0"
php: "8.1"

name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} ${{ matrix.prefer }}
name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}

steps:
- name: Checkout code
Expand All @@ -29,7 +31,7 @@ jobs:
coverage: xdebug

- name: Install dependencies
run: composer require laravel/framework:^${{ matrix.laravel }} --prefer-${{ matrix.prefer }}
run: composer require laravel/framework:^${{ matrix.laravel }}

- name: Execute tests
run: php vendor/bin/pest --compact
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dragon-code/support": "^6.11"
},
"require-dev": {
"illuminate/support": "^10.31",
"illuminate/support": "^10.31 || ^11.0",
"laravel-lang/locale-list": "^1.2",
"pestphp/pest": "^2.24.3",
"punic/punic": "^3.8",
Expand Down

0 comments on commit 39ef333

Please sign in to comment.