From 538e1acef2bd4764f034d462e08d540312fb27b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Attali?= Date: Sat, 21 Dec 2024 15:37:27 +0100 Subject: [PATCH] Update github actions --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb75ed3..91bb350 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,14 +23,14 @@ jobs: php: ['8.2'] stability: [prefer-stable] minimum-stability: [stable] - symfony-version: [7.0.*] + symfony-version: [7.2.*] is-current: [true] include: - php: '8.3' - symfony-version: 7.0.* + symfony-version: 7.2.* stability: prefer-stable - php: '8.4' - symfony-version: 7.0.* + symfony-version: 7.2.* stability: prefer-stable name: PHP ${{ matrix.php }} and Symfony ${{ matrix.symfony-require }} @@ -56,7 +56,8 @@ jobs: run: | composer global config --no-plugins allow-plugins.symfony/flex true composer global require --no-progress --no-scripts --no-plugins symfony/flex - composer update --no-interaction --no-progress --no-scripts --prefer-stable + composer config minimum-stability ${{ matrix.minimum-stability }} + composer update --no-interaction --prefer-dist - name: PHP-CS-Fixer continue-on-error: ${{ !matrix.is-current }} @@ -68,7 +69,7 @@ jobs: - name: PHPStan continue-on-error: ${{ !matrix.is-current }} - run: vendor/bin/phpstan analyse src tests --level 7 + run: vendor/bin/phpstan analyse src tests --level 9 - name: Unit and Feature tests via PHPUnit env: