diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 27ef2e6..41f4d67 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,12 +12,15 @@ jobs: strategy: matrix: - php: [8.3, 8.2] + php: [8.2, 8.3, 8.4] laravel: [10.*, 11.*] - statamic: [^5.0] + stability: [prefer-lowest, prefer-stable] os: [ubuntu-latest] + exclude: + - php: 8.4 + laravel: 10.* - name: ${{ matrix.php }} - ${{ matrix.statamic }} - ${{ matrix.laravel }} + name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} steps: - name: Checkout code @@ -31,8 +34,8 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "statamic/cms:${{ matrix.statamic }}" --no-interaction --no-update - composer install --no-interaction + composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest - name: Run PHPUnit - run: vendor/bin/phpunit \ No newline at end of file + run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index b4a2a8e..dda361c 100644 --- a/composer.json +++ b/composer.json @@ -12,16 +12,16 @@ } }, "require": { - "statamic/cms": "^5.38", + "statamic/cms": "^5.41", "spatie/simple-excel": "^3.7", "symfony/dom-crawler": "^7.1", "pixelfear/composer-dist-plugin": "^0.1.5", - "laravel/framework": "11.*" + "symfony/css-selector": "^7.1" }, "require-dev": { "laravel/pint": "^1.18", - "orchestra/testbench": "^8.0 || ^9.5.6", - "phpunit/phpunit": "^10.0" + "orchestra/testbench": "^8.28 || ^9.6.1", + "phpunit/phpunit": "^10.5.35" }, "config": { "allow-plugins": {