diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac3d7240..9f070d5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -106,6 +106,12 @@ jobs: dependencies: - "lowest" - "highest" + update-packages: + - "" + include: + - php-version: "8.3" + dependencies: "highest" + update-packages: "composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 -W" steps: - name: "Checkout" @@ -135,6 +141,9 @@ jobs: if: ${{ matrix.dependencies == 'highest' }} run: "composer update --no-interaction --no-progress" + - name: "Update packages" + run: ${{ matrix.update-packages }} + - name: "Tests" run: "make tests" @@ -152,6 +161,11 @@ jobs: - "8.1" - "8.2" - "8.3" + update-packages: + - "" + include: + - php-version: "8.3" + update-packages: "composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 -W" steps: - name: "Checkout" @@ -172,5 +186,8 @@ jobs: - name: "Install dependencies" run: "composer update --no-interaction --no-progress" + - name: "Update packages" + run: ${{ matrix.update-packages }} + - name: "PHPStan" run: "make phpstan"