From d619411b86bb0aad08aa3d3ecd2e2e8b52dc6fe9 Mon Sep 17 00:00:00 2001 From: Rhys Lees <43909932+RhysLees@users.noreply.github.com> Date: Fri, 15 Mar 2024 11:57:18 +0000 Subject: [PATCH] WIP --- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 7 ++----- composer.json | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index ed03ee6..090fd83 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.2' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5005ea9..682b498 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,12 +13,9 @@ jobs: fail-fast: true matrix: os: [ ubuntu-latest, windows-latest ] - php: [ 8.3 ] + php: [ 8.2, 8.3 ] laravel: [ 11.* ] stability: [ prefer-lowest, prefer-stable ] - include: - - laravel: 11.* - testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -40,7 +37,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Set phpunit.xml diff --git a/composer.json b/composer.json index f86410c..5fea96f 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } ], "require": { - "php": "^8.3", + "php": ">=8.2", "guzzlehttp/guzzle": "^7.8", "illuminate/contracts": "^11.0", "saloonphp/laravel-plugin": "^3.2",