Skip to content

Commit

Permalink
Added support for Laravel Lang 14
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Dec 21, 2023
1 parent 197a62a commit c547310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
matrix:
php: [ "8.1", "8.2", "8.3" ]
laravel: [ "10.0" ]
package_lang: [ "13.0", "14.0" ]

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

steps:
- name: Checkout code
Expand All @@ -30,7 +31,7 @@ jobs:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

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

- name: Execute tests
run: sudo vendor/bin/phpunit
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"laravel-lang/attributes": "^2.7",
"laravel-lang/http-statuses": "^3.7",
"laravel-lang/json-fallback": "^2.0",
"laravel-lang/lang": "^13.12",
"laravel-lang/lang": "^13.12 || ^14.0",
"laravel-lang/locales": "^2.3",
"laravel-lang/publisher": "^16.0"
},
Expand Down

0 comments on commit c547310

Please sign in to comment.