mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 03:46:11 +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]
webimage_extra_packages: [parallel]
use_dns_when_possible: true
composer_version: ""
composer_version: "2.1.14"
web_environment:
- typo3DatabaseName=typo3
- typo3DatabaseHost=db

View file

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

View file

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

View file

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