From 580ce38d264d715e675b71e0dbac388dd018b7a0 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 4 Sep 2025 23:33:43 +0200 Subject: [PATCH] [CI] Validate `composer.json` file before install (#29) --- .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 4512e68..e40cf0d 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