From 5f3079d2ff62979e79ab2cfd94f45f917f66b317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 21 Feb 2023 18:38:20 +0100 Subject: [PATCH] use the laravel version from the ci matrix for the phpstan job as well --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d9a3f24..8d615ce8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,7 +114,9 @@ jobs: with: php-version: '8.2' - uses: actions/checkout@v2 - - name: Install composer dependencies - run: composer install + - name: Install Composer dependencies + run: | + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + composer update --prefer-dist --no-interaction - name: Run phpstan run: vendor/bin/phpstan analyse --xdebug