mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-23 01:16:13 +01:00

[BUGFIX] Pin Composer to version 2.1.x (#352)

Composer versions 2.2.0 and 2.2.1 have a bug that breaks PHPUnit.
Until version 2.2.2 is released with a fix, we need to keep to
Composer 2.1 to keep the tests from breaking.

See https://github.com/composer/composer/issues/10387 for details.
This commit is contained in:
Oliver Klee 2021-12-24 02:15:42 +01:00 committed by GitHub
parent d4195cd8a6
commit feaf6f2fc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -18,7 +18,7 @@ hooks:
omit_containers: [dba, ddev-ssh-agent] omit_containers: [dba, ddev-ssh-agent]
webimage_extra_packages: [parallel] webimage_extra_packages: [parallel]
use_dns_when_possible: true use_dns_when_possible: true
composer_version: "" composer_version: "2.1.14"
web_environment: web_environment:
- typo3DatabaseName=typo3 - typo3DatabaseName=typo3
- typo3DatabaseHost=db - typo3DatabaseHost=db

View file

@ -21,7 +21,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2 tools: composer:v2.1
- name: "Run PHP lint" - name: "Run PHP lint"
run: "composer ci:php:lint" run: "composer ci:php:lint"
strategy: strategy:
@ -43,7 +43,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2 tools: composer:v2.1
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- name: "Cache dependencies installed with composer" - name: "Cache dependencies installed with composer"
@ -109,7 +109,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2 tools: composer:v2.1
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- name: "Cache dependencies installed with composer" - name: "Cache dependencies installed with composer"
@ -199,7 +199,7 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
tools: composer:v2 tools: composer:v2.1
extensions: mysqli extensions: mysqli
coverage: none coverage: none
- name: "Show Composer version" - name: "Show Composer version"

View file

@ -18,7 +18,7 @@ jobs:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: xdebug coverage: xdebug
extensions: xdebug, mysqli extensions: xdebug, mysqli
tools: composer:v2 tools: composer:v2.1
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- name: "Cache dependencies installed with composer" - name: "Cache dependencies installed with composer"

View file

@ -21,7 +21,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2 tools: composer:v2.1
- name: "Run PHP lint" - name: "Run PHP lint"
run: "composer ci:php:lint" run: "composer ci:php:lint"
strategy: strategy:
@ -104,7 +104,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2 tools: composer:v2.1
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- name: "Cache dependencies installed with composer" - name: "Cache dependencies installed with composer"
@ -163,7 +163,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2 tools: composer:v2.1
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- name: "Cache dependencies installed with composer" - name: "Cache dependencies installed with composer"
@ -214,7 +214,7 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
tools: composer:v2 tools: composer:v2.1
extensions: mysqli extensions: mysqli
coverage: none coverage: none
- name: "Show Composer version" - name: "Show Composer version"