@@ -15,13 +15,13 @@ jobs:
1515 matrix :
1616 php-version :
1717 - " 8.4"
18- symfony :
19- - " stable "
18+ symfony-version :
19+ - " "
2020 proxy :
2121 - " native"
2222 steps :
2323 - name : " Checkout"
24- uses : " actions/checkout@v5 "
24+ uses : " actions/checkout@v6 "
2525 with :
2626 fetch-depth : 2
2727
5858 uses : " shivammathur/setup-php@v2"
5959 with :
6060 php-version : " ${{ matrix.php-version }}"
61- tools : " pecl "
61+ tools : " flex "
6262 extensions : " mongodb, bcmath"
6363 coverage : " none"
6464 ini-values : " zend.assertions=1"
@@ -70,20 +70,13 @@ jobs:
7070 - name : " Remove phpbench/phpbench"
7171 run : composer remove --no-update --dev phpbench/phpbench
7272
73- - name : " Configure Symfony ${{ matrix.symfony }}"
74- if : " ${{ matrix.symfony != 'stable' }}"
75- run : |
76- composer config minimum-stability dev
77- # update symfony deps
78- composer require --no-update symfony/console:^${{ matrix.symfony }}
79- composer require --no-update symfony/var-dumper:^${{ matrix.symfony }}
80- composer require --no-update --dev symfony/cache:^${{ matrix.symfony }}
81-
8273 - name : " Install dependencies with Composer"
8374 uses : " ramsey/composer-install@v3"
8475 with :
8576 dependency-versions : " highest"
8677 composer-options : " --prefer-dist"
78+ env :
79+ SYMFONY_REQUIRE : ${{ matrix.symfony-version }}
8780
8881 - name : " Run PHPUnit with Atlas Local"
8982 run : " vendor/bin/phpunit --group atlas"
0 commit comments