mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-14 05:16:12 +01:00

[TASK] Explicitly use Composer 2 on GitHub actions (#169)

This commit is contained in:
Oliver Klee 2020-11-24 02:07:55 +01:00 committed by GitHub
parent 606775161f
commit 898819d468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,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
- name: "Run PHP lint" - name: "Run PHP lint"
run: "composer ci:php:lint" run: "composer ci:php:lint"
strategy: strategy:
@ -40,6 +41,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
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- -
@ -117,6 +119,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
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- -
@ -174,6 +177,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
- name: "Show Composer version" - name: "Show Composer version"
run: composer --version run: composer --version
- -