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

[TASK] Use Composer 2.2 in the CI pipeline (#362)

With the releases of Composer 2.2.2 and 2.2.3 (and PHPUnit 9.5.11),
running the tests with Composer 2 in the pipeline should be safe afain.
This commit is contained in:
Oliver Klee 2022-01-02 02:23:40 +01:00 committed by GitHub
parent 3734ba295e
commit 07ff094028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -18,7 +18,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.1 tools: composer:v2.2
- name: "Run PHP lint" - name: "Run PHP lint"
run: "composer ci:php:lint" run: "composer ci:php:lint"
strategy: strategy:
@ -40,7 +40,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.1 tools: composer:v2.2
- 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"
@ -106,7 +106,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.1 tools: composer:v2.2
- 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"
@ -196,7 +196,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.1 tools: composer:v2.2
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.1 tools: composer:v2.2
- 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.1 tools: composer:v2.2
- 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.1 tools: composer:v2.2
- 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.1 tools: composer:v2.2
- 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.1 tools: composer:v2.2
extensions: mysqli extensions: mysqli
coverage: none coverage: none
- name: "Show Composer version" - name: "Show Composer version"