mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 23:26:11 +01:00

[TASK] Always use the latest Composer V2 (#994)

This saves us changes to the configuration files each time a new
Composer major version is released.
This commit is contained in:
Oliver Klee 2023-11-18 04:38:07 +01:00 committed by GitHub
parent dab551f051
commit 2a763a2398
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

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

View file

@ -23,7 +23,7 @@ jobs:
with:
php-version: "${{ matrix.php-version }}"
coverage: none
tools: composer:v2.6
tools: composer:v2
- name: "Show the Composer configuration"
run: "composer config --global --list"
- name: "Run PHP lint"
@ -48,7 +48,7 @@ jobs:
with:
php-version: "${{ matrix.php-version }}"
coverage: none
tools: composer:v2.6
tools: composer:v2
- name: "Show Composer version"
run: "composer --version"
- name: "Show the Composer configuration"
@ -113,7 +113,7 @@ jobs:
with:
php-version: "${{ matrix.php-version }}"
coverage: none
tools: composer:v2.6
tools: composer:v2
- name: "Show Composer version"
run: "composer --version"
- name: "Show the Composer configuration"
@ -210,7 +210,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
tools: composer:v2.6
tools: composer:v2
extensions: mysqli
coverage: none
- name: "Show Composer version"

View file

@ -22,7 +22,7 @@ jobs:
with:
php-version: "${{ matrix.php-version }}"
coverage: none
tools: composer:v2.6
tools: composer:v2
- name: "Run PHP lint"
run: "composer ci:php:lint"
strategy:
@ -97,7 +97,7 @@ jobs:
with:
php-version: "${{ matrix.php-version }}"
coverage: none
tools: composer:v2.6
tools: composer:v2
- name: "Show Composer version"
run: composer --version
- name: "Cache dependencies installed with composer"
@ -154,7 +154,7 @@ jobs:
with:
php-version: "${{ matrix.php-version }}"
coverage: none
tools: composer:v2.6
tools: composer:v2
- name: "Show Composer version"
run: composer --version
- name: "Cache dependencies installed with composer"
@ -237,7 +237,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"
tools: composer:v2.6
tools: composer:v2
extensions: mysqli
coverage: none
- name: "Show Composer version"