diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 225508e..ef95e68 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -9,7 +9,7 @@ jobs: - name: PHP-CS-Fixer uses: docker://oskarstark/php-cs-fixer-ga with: - args: --dry-run + args: --config=.php-cs-fixer.php --dry-run phpstan: runs-on: ubuntu-latest diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 14268ee..46b013b 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -8,22 +8,12 @@ jobs: fail-fast: false matrix: php: [7.4, 8.0, 8.1, 8.2] - symfony: [4.4.*, 5.4.*, 6.0.*, 6.1.*, 6.2.*, 6.3.*] + symfony: [4.4.*, 5.4.*, 6.*] exclude: - php: 7.4 - symfony: 6.0.* - - php: 7.4 - symfony: 6.1.* - - php: 7.4 - symfony: 6.2.* - - php: 7.4 - symfony: 6.3.* - - php: 8.0 - symfony: 6.1.* - - php: 8.0 - symfony: 6.2.* + symfony: 6.* - php: 8.0 - symfony: 6.3.* + symfony: 6.* services: rabbitmq: @@ -53,12 +43,14 @@ jobs: run: docker restart ${{ job.services.rabbitmq.id }} - name: Install Symfony Flex - run: composer global require --no-progress --no-scripts --no-plugins symfony/flex + run: | + composer global config --no-plugins allow-plugins.symfony/flex true + composer global require --no-progress --no-scripts symfony/flex - name: Install the dependencies env: SYMFONY_REQUIRE: ${{ matrix.symfony }} - run: composer install --no-interaction --prefer-dist --no-progress --no-suggest --no-plugins + run: composer install --no-interaction --prefer-dist --no-progress --no-suggest - name: Wait for broker service run: Tests/bin/wait_broker