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" },