diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 3782c58..817979a 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -2,7 +2,8 @@ name: Code coverage on: push: - branches: [ main ] + branches: + - main jobs: build: @@ -12,14 +13,16 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.4] - laravel: ['10.*', '11.*'] + php: ['8.2', '8.3', 8.4, '8.4'] + laravel: ['10.*', '11.*', '12.*'] stability: [prefer-lowest] include: - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3a1f86c..6fed9c6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,9 +2,11 @@ name: Tests on: push: - branches: [ main ] + branches: + - main pull_request: - branches: [ main ] + branches: + - main jobs: run-tests: @@ -14,11 +16,13 @@ jobs: fail-fast: true matrix: php: [8.4, 8.3, 8.2] - laravel: ['11.*'] + laravel: ['11.*', '12.*'] stability: [prefer-stable] include: - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index a5bf808..b59d78c 100644 --- a/composer.json +++ b/composer.json @@ -14,12 +14,12 @@ "require": { "php": "^8.2", "ext-json": "*", - "illuminate/support": "^11.0", + "illuminate/support": "^11.0|^12.0", "guzzlehttp/guzzle": "~6.0|~7.0", "nesbot/carbon": "^2.53.1|^3.0" }, "require-dev": { - "orchestra/testbench": "^9.0", + "orchestra/testbench": "^9.0|^10.0", "nunomaduro/collision": "^8.0", "roave/security-advisories": "dev-latest", "larastan/larastan": "^3.0.2",