mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 19:56:13 +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] 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: "2.4" composer_version: "2"
web_environment: web_environment:
- typo3DatabaseName=typo3 - typo3DatabaseName=typo3
- typo3DatabaseHost=db - typo3DatabaseHost=db

View file

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

View file

@ -22,7 +22,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.6 tools: composer:v2
- name: "Run PHP lint" - name: "Run PHP lint"
run: "composer ci:php:lint" run: "composer ci:php:lint"
strategy: strategy:
@ -97,7 +97,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.6 tools: composer:v2
- 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"
@ -154,7 +154,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.6 tools: composer:v2
- 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"
@ -237,7 +237,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.6 tools: composer:v2
extensions: mysqli extensions: mysqli
coverage: none coverage: none
- name: "Show Composer version" - name: "Show Composer version"