From c547310ced6db4ef791c4d4616d9b7406d41e87c Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Thu, 21 Dec 2023 16:37:41 +0300 Subject: [PATCH] Added support for Laravel Lang 14 --- .github/workflows/tests.yml | 5 +++-- composer.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cb3e7a50f..ca0907d36 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 diff --git a/composer.json b/composer.json index 1f501748e..e4af80bc6 100644 --- a/composer.json +++ b/composer.json @@ -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" },