From 1129d74c5319fd3c76f8fcf08613dc6fabe7a44c Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Wed, 21 Sep 2022 09:48:16 +0200 Subject: [PATCH] [FEATURE] Show the Composer configuration in the CI jobs (#572) This helps debug problems, e.g., using an incorrect Composer cache directory. --- .github/workflows/ci.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f42553f..2147205 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: php-version: "${{ matrix.php-version }}" coverage: none tools: composer:v2.4 + - name: "Show the Composer configuration" + run: "composer config --global --list" - name: "Run PHP lint" run: "composer ci:php:lint" strategy: @@ -46,7 +48,9 @@ jobs: coverage: none tools: composer:v2.4 - name: "Show Composer version" - run: composer --version + run: "composer --version" + - name: "Show the Composer configuration" + run: "composer config --global --list" - name: "Cache dependencies installed with composer" uses: actions/cache@v3 with: @@ -109,7 +113,9 @@ jobs: coverage: none tools: composer:v2.4 - name: "Show Composer version" - run: composer --version + run: "composer --version" + - name: "Show the Composer configuration" + run: "composer config --global --list" - name: "Cache dependencies installed with composer" uses: actions/cache@v3 with: @@ -189,7 +195,9 @@ jobs: extensions: mysqli coverage: none - name: "Show Composer version" - run: composer --version + run: "composer --version" + - name: "Show the Composer configuration" + run: "composer config --global --list" - name: "Cache dependencies installed with composer" uses: actions/cache@v3 with: