diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d406053..7610c5f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,10 +35,9 @@ jobs: - description: 'Symfony 5.0' php: '8.3' symfony: '5.0.*' - - description: 'Dev deps' - php: '8.3' - symfony: '7.0.*' - dev: true + - description: 'Beta deps' + php: '8.1' + beta: true - description: 'Lowest deps' php: '8.1' composer_option: '--prefer-lowest' @@ -48,10 +47,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - run: | - phpenv config-rm xdebug.ini || true - composer global config --no-plugins allow-plugins.symfony/flex true - composer global require --no-progress --no-scripts --no-plugins symfony/flex 1.* - name: Cache uses: actions/cache@v3 with: @@ -64,7 +59,9 @@ jobs: - run: | sed -ri 's/"symfony\/(.+)": "(.+)"/"symfony\/\1": "'${{ matrix.symfony }}'"/' composer.json; if: matrix.symfony - - run: composer config minimum-stability dev && composer config prefer-stable true - if: matrix.dev - - run: composer update --no-interaction --no-progress --ansi ${{ matrix.composer_option }} + - run: | + composer config minimum-stability dev + composer config prefer-stable true + if: matrix.beta + - run: composer update --prefer-dist --no-interaction --no-progress --ansi ${{ matrix.composer_option }} - run: vendor/bin/simple-phpunit -v