From 5c6832b0970ac1a7ac9cf5e6c1fd14fa8f8a3484 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 4 Sep 2025 21:37:18 +0200 Subject: [PATCH] [CI] Validate `composer.json` file before install --- .github/workflows/pipeline.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 7e88ee9e..52d90ba6 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -22,14 +22,14 @@ jobs: php-version: ${{ matrix.php }} coverage: "none" + - name: Composer Validation + run: composer validate --strict + - name: Install Composer uses: "ramsey/composer-install@v3" with: dependency-versions: "${{ matrix.dependencies }}" - - name: Composer Validation - run: composer validate --strict - - name: Install PHP Dependencies run: composer install --no-scripts @@ -48,12 +48,12 @@ jobs: php-version: '8.1' coverage: "none" - - name: Install Composer - uses: "ramsey/composer-install@v3" - - name: Composer Validation run: composer validate --strict + - name: Install Composer + uses: "ramsey/composer-install@v3" + - name: Install PHP Dependencies run: composer install --no-scripts