From cd2d1040fa2bffdf4c80aa69b4b8e9f9c0e9ec90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Rub=C3=A9l?= Date: Thu, 14 Mar 2024 19:55:32 +0100 Subject: [PATCH] Update composer install for Infection --- .github/workflows/infection.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/infection.yml b/.github/workflows/infection.yml index a79d530..235765f 100644 --- a/.github/workflows/infection.yml +++ b/.github/workflows/infection.yml @@ -18,7 +18,7 @@ jobs: with: php-version: '8.1' extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, intl, fileinfo, sodium - coverage: xdebug + coverage: pcov - name: Cache composer dependencies uses: actions/cache@v2 @@ -26,8 +26,10 @@ jobs: path: vendor key: composer-${{ hashFiles('composer.lock') }} - - name: Run composer install - run: composer install -n --prefer-dist + - name: Install dependencies + run: | + composer require "laravel/framework:10.*" "nesbot/carbon:^2.64.1" --dev --no-interaction --no-update + composer update --prefer-stable --prefer-dist --no-interaction - name: Run infection run: ./vendor/bin/infection --show-mutations --min-msi=100 --min-covered-msi=100