From 4854d9983ad63453f102f600441b4e15da9dd696 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 24 Feb 2022 09:11:49 +0100 Subject: [PATCH] [CLEANUP] Always have the CI job name as first element (#391) This helps human readers see what a job is about more quickly, following the principle of having the heading as the first element of a text. --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/predefined.yml | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d567d8..47f4387 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,19 +119,19 @@ jobs: key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}" path: ~/.cache/composer restore-keys: "php${{ matrix.php-version }}-composer-\n" - - env: + - name: "Install TYPO3 Core" + env: TYPO3: "${{ matrix.typo3-version }}" - name: "Install TYPO3 Core" run: | composer require --no-ansi --no-interaction --no-progress --no-install typo3/minimal:"$TYPO3" composer show - - if: "matrix.composer-dependencies == 'lowest'" - name: "Install lowest dependencies with composer" + - name: "Install lowest dependencies with composer" + if: "matrix.composer-dependencies == 'lowest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest composer show - - if: "matrix.composer-dependencies == 'highest'" - name: "Install highest dependencies with composer" + - name: "Install highest dependencies with composer" + if: "matrix.composer-dependencies == 'highest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies composer show @@ -199,19 +199,19 @@ jobs: key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}" path: ~/.cache/composer restore-keys: "php${{ matrix.php-version }}-composer-\n" - - env: + - name: "Install TYPO3 Core" + env: TYPO3: "${{ matrix.typo3-version }}" - name: "Install TYPO3 Core" run: | composer require --no-ansi --no-interaction --no-progress --no-install typo3/minimal:"$TYPO3" composer show - - if: "matrix.composer-dependencies == 'lowest'" - name: "Install lowest dependencies with composer" + - name: "Install lowest dependencies with composer" + if: "matrix.composer-dependencies == 'lowest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest composer show - - if: "matrix.composer-dependencies == 'highest'" - name: "Install highest dependencies with composer" + - name: "Install highest dependencies with composer" + if: "matrix.composer-dependencies == 'highest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies composer show diff --git a/.github/workflows/predefined.yml b/.github/workflows/predefined.yml index 24d6990..c9fb5a7 100644 --- a/.github/workflows/predefined.yml +++ b/.github/workflows/predefined.yml @@ -170,19 +170,19 @@ jobs: key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}" path: ~/.cache/composer restore-keys: "php${{ matrix.php-version }}-composer-\n" - - env: + - name: "Install TYPO3 Core" + env: TYPO3: "${{ matrix.typo3-version }}" - name: "Install TYPO3 Core" run: | composer require --no-progress typo3/minimal:"$TYPO3" composer show - - if: "matrix.composer-dependencies == 'lowest'" - name: "Install lowest dependencies with composer" + - name: "Install lowest dependencies with composer" + if: "matrix.composer-dependencies == 'lowest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest composer show - - if: "matrix.composer-dependencies == 'highest'" - name: "Install highest dependencies with composer" + - name: "Install highest dependencies with composer" + if: "matrix.composer-dependencies == 'highest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies composer show @@ -223,19 +223,19 @@ jobs: key: "php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}" path: ~/.cache/composer restore-keys: "php${{ matrix.php-version }}-composer-\n" - - env: + - name: "Install TYPO3 Core" + env: TYPO3: "${{ matrix.typo3-version }}" - name: "Install TYPO3 Core" run: | composer require --no-progress typo3/minimal:"$TYPO3" composer show - - if: "matrix.composer-dependencies == 'lowest'" - name: "Install lowest dependencies with composer" + - name: "Install lowest dependencies with composer" + if: "matrix.composer-dependencies == 'lowest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies --prefer-lowest composer show - - if: "matrix.composer-dependencies == 'highest'" - name: "Install highest dependencies with composer" + - name: "Install highest dependencies with composer" + if: "matrix.composer-dependencies == 'highest'" run: | composer update --no-ansi --no-interaction --no-progress --with-dependencies composer show