diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 2a133765..3fa18fe3 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: php: [8.0, 8.1, 8.2, 8.3] - laravel: [9.*, 10.*, 11.*] + laravel: ['9.*', '10.*', '11.*', '12.*'] os: [ubuntu-latest] coverage: [none] include: @@ -30,8 +30,12 @@ jobs: laravel: 11.* - php: 8.1 laravel: 11.* + - laravel: 12.* + php: 8.0 + - laravel: 12.* + php: 8.1 - name: '[P${{ matrix.php }}] [L${{ matrix.laravel }}] [${{ matrix.coverage }}]' + name: [P${{ matrix.php }}] [L${{ matrix.laravel }}] [${{ matrix.coverage }}] steps: - name: Checkout code @@ -53,8 +57,8 @@ jobs: uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} - key: "php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-${{ hashFiles('**/composer.json') }}" - restore-keys: "php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-${{ hashFiles('**/composer.json') }}" + key: php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-${{ hashFiles('**/composer.json') }} + restore-keys: php-${{ matrix.php }}-laravel-${{ matrix.laravel }}-${{ hashFiles('**/composer.json') }} - name: Install dependencies run: | @@ -66,7 +70,7 @@ jobs: - name: Upload coverage uses: codecov/codecov-action@v1 - if: matrix.coverage == 'xdebug' + if: "matrix.coverage == 'xdebug'" with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml diff --git a/composer.json b/composer.json index 6c750ad8..02f1121b 100644 --- a/composer.json +++ b/composer.json @@ -24,17 +24,17 @@ ], "require": { "php": "^8.0", - "illuminate/auth": "^9.0|^10.0|^11.0", - "illuminate/contracts": "^9.0|^10.0|^11.0", - "illuminate/http": "^9.0|^10.0|^11.0", - "illuminate/support": "^9.0|^10.0|^11.0", - "lcobucci/jwt": "^4.0", + "illuminate/auth": "^9.0|^10.0|^11.0|^12.0", + "illuminate/contracts": "^9.0|^10.0|^11.0|^12.0", + "illuminate/http": "^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "^9.0|^10.0|^11.0|^12.0", + "lcobucci/jwt": "^4.0|^5.5", "nesbot/carbon": "^2.0|^3.0" }, "require-dev": { - "illuminate/console": "^9.0|^10.0|^11.0", - "illuminate/database": "^9.0|^10.0|^11.0", - "illuminate/routing": "^9.0|^10.0|^11.0", + "illuminate/console": "^9.0|^10.0|^11.0|^12.0", + "illuminate/database": "^9.0|^10.0|^11.0|^12.0", + "illuminate/routing": "^9.0|^10.0|^11.0|^12.0", "mockery/mockery": ">=0.9.9", "phpunit/phpunit": "^9.4" },