From 89288a577078054b0c2258d9dac0ee1c002f0dd7 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 7 Feb 2024 19:42:57 +0100 Subject: [PATCH] Fix lowest stability --- .github/workflows/run-tests.yml | 7 ++++--- composer.json | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b94dc0d..009a09f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,16 +18,17 @@ jobs: COMPOSER_NO_INTERACTION: 1 strategy: + fail-fast: false matrix: os: [ubuntu-20.04, windows-2019] php: [8.3, 8.2, 8.1, 8.0] laravel: [9.*, 10.*] - dependency-version: [prefer-lowest, prefer-stable] + stability: [prefer-lowest, prefer-stable] exclude: - php: 8.0 laravel: 10.* - php: 8.0 - dependency-version: prefer-lowest + stability: prefer-lowest steps: - name: Set git to use LF if: ${{ matrix.os == 'windows-2019' }} @@ -50,7 +51,7 @@ jobs: composer remove vimeo/psalm --no-update --dev composer remove friendsofphp/php-cs-fixer --no-update --dev composer require "laravel/framework:${{ matrix.laravel }}" --no-update --no-progress - composer update --prefer-dist --no-progress + composer update --prefer-dist --no-progress --${{ matrix.stability }} - name: Execute Unit Tests run: composer test-ci diff --git a/composer.json b/composer.json index 537d760..f33019d 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "php": "^8.0", "ext-json": "*", - "barryvdh/reflection-docblock": "^2.0.6", + "barryvdh/reflection-docblock": "^2.1.1", "composer/class-map-generator": "^1.0", "doctrine/dbal": "^2.6 || ^3", "illuminate/console": "^9 || ^10", @@ -33,6 +33,7 @@ }, "require-dev": { "ext-pdo_sqlite": "*", + "nesbot/carbon": "^2.62.1", "friendsofphp/php-cs-fixer": "^3", "illuminate/config": "^9 || ^10", "illuminate/view": "^9 || ^10",