diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e600f973..f49618a3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,21 +2,24 @@ name: run-tests on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main schedule: - cron: '0 3 * * *' jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, macos-latest] php: [8.2, 8.3, 8.4, 8.5] - laravel: [10.*, 11.*, 12.*] + laravel: ['10.*', '11.*', '12.*', '13.*'] stability: [prefer-lowest, prefer-stable] exclude: - laravel: 12.* @@ -29,7 +32,8 @@ jobs: stability: prefer-lowest - php: 8.2 stability: prefer-lowest - + - laravel: 13.* + php: 8.2 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -60,4 +64,3 @@ jobs: - name: Execute tests run: vendor/bin/pest -vv --ci - diff --git a/composer.json b/composer.json index 54ed8fd0..564342b3 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ ], "require": { "php": "^8.2", - "illuminate/support": "^10.0 | ^11.0 | ^12.0", - "illuminate/contracts": "^10.0 | ^11.0 | ^12.0", - "illuminate/http": "^10.0 | ^11.0 | ^12.0", + "illuminate/support": "^10.0 | ^11.0 | ^12.0 | ^13.0", + "illuminate/contracts": "^10.0 | ^11.0 | ^12.0 | ^13.0", + "illuminate/http": "^10.0 | ^11.0 | ^12.0 | ^13.0", "spatie/laravel-package-tools": "^1.12.1" }, "require-dev": { @@ -29,9 +29,9 @@ "guzzlehttp/guzzle": "^7.5.0", "nunomaduro/collision": "^7.10.0 | ^8.1.1", "larastan/larastan": "^1.0.4 | ^2.4.0 | ^3.1.0", - "orchestra/testbench": "^8.0 | ^9.0 | ^10.0", + "orchestra/testbench": "^8.0 | ^9.0 | ^10.0 | ^11.0", "pestphp/pest": "^2.34.2 | ^3.7.4 | ^4.1.0", - "pestphp/pest-plugin-laravel": "^2.3.0 | ^3.1.0", + "pestphp/pest-plugin-laravel": "^2.3.0 | ^3.1.0 | ^4.1", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan-deprecation-rules": "^1.0.0 | ^2.0.1", "phpstan/phpstan-phpunit": "^1.2.2 | ^2.0.4",