From e983f2fba27aaaace044402db3243be4cc8395b2 Mon Sep 17 00:00:00 2001 From: Bert Wijnhoven Date: Mon, 11 Mar 2024 18:00:14 +0100 Subject: [PATCH] run matrix for laravel 11 --- .github/workflows/phpstan.yml | 4 +++- .github/workflows/run-tests.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 5e1107a..0e63083 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -17,6 +17,7 @@ jobs: os: [ubuntu-latest] php: [8.3, 8.2, 8.1] laravel: [10.*, 11.*] + stability: [prefer-stable] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }} @@ -33,7 +34,8 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies run: composer show -D diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 78f5f88..5e5c441 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -20,6 +20,7 @@ jobs: os: [ubuntu-latest] php: [8.3, 8.2, 8.1] laravel: [10.*, 11.*] + stability: [prefer-stable] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }} @@ -41,7 +42,8 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies run: composer show -D