mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-25 21:56:13 +01:00

[TASK] Update to Composer 2.4 (#513)

Now that Composer 2.4 has had its first point release, we can safely
upgrade from 2.3 to 2.4 in the DDEV configuration and the CI pipeline.
This commit is contained in:
Oliver Klee 2022-08-27 18:53:54 +02:00 committed by GitHub
parent 9920c30ce1
commit 75ae59b28a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 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: "2.3.7" composer_version: "2.4"
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.3 tools: composer:v2.4
- name: "Run PHP lint" - name: "Run PHP lint"
run: "composer ci:php:lint" run: "composer ci:php:lint"
strategy: strategy:
@ -44,7 +44,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.3 tools: composer:v2.4
- 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"
@ -107,7 +107,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.3 tools: composer:v2.4
- 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"
@ -185,7 +185,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.3 tools: composer:v2.4
extensions: mysqli extensions: mysqli
coverage: none coverage: none
- name: "Show Composer version" - name: "Show Composer version"

View file

@ -17,7 +17,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.3 tools: composer:v2.4
extensions: xdebug, mysqli extensions: xdebug, mysqli
coverage: xdebug coverage: xdebug
- name: "Show Composer version" - name: "Show Composer version"

View file

@ -20,7 +20,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.3 tools: composer:v2.4
- name: "Run PHP lint" - name: "Run PHP lint"
run: "composer ci:php:lint" run: "composer ci:php:lint"
strategy: strategy:
@ -103,7 +103,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.3 tools: composer:v2.4
- 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"
@ -160,7 +160,7 @@ jobs:
with: with:
php-version: "${{ matrix.php-version }}" php-version: "${{ matrix.php-version }}"
coverage: none coverage: none
tools: composer:v2.3 tools: composer:v2.4
- 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"
@ -211,7 +211,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.3 tools: composer:v2.4
extensions: mysqli extensions: mysqli
coverage: none coverage: none
- name: "Show Composer version" - name: "Show Composer version"

View file

@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
### Added ### Added
### Changed ### Changed
- Update to Composer 2.4 (#513)
- Change the default indentation for rst files to 4 spaces (#194) - Change the default indentation for rst files to 4 spaces (#194)
### Deprecated ### Deprecated