diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a2b741..e3b2681 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: tools: composer:v2, flex - name: Validate composer.json - run: composer validate --no-check-lock + run: composer validate --strict - name: Remove analysis dependencies run: composer remove --dev --no-update sylius-labs/coding-standard @@ -48,8 +48,12 @@ jobs: env: SYMFONY_REQUIRE: "${{ matrix.symfony-version }}" - - name: Run analysis - run: composer analyse + - name: Run coding standard + run: vendor/bin/ecs check --ansi --no-progress-bar src tests + if: matrix.symfony-version != '6.0.*' + + - name: Run Psalm + run: vendor/bin/psalm src --no-progress --php-version="${{ matrix.php-version }}" - name: Run tests run: composer test