Skip to content

Commit 3e5786e

Browse files
committed
github-actions: update composer version for php 8.4
1 parent c0c357c commit 3e5786e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/php.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,14 @@ jobs:
2020
strategy:
2121
matrix:
2222
php-version: [ '8.2', '8.3', '8.4' ]
23+
composer-version: [ '2.2', '2.8' ]
2324
mysql-version: [ '8.0' ]
2425
shopware-version: [ 'v6.7.0.0', 'v6.7.1.0', 'v6.7.2.0' ]
26+
exclude:
27+
- php-version: 8.2
28+
composer-version: 2.8
29+
- php-version: 8.3
30+
composer-version: 2.8
2531
fail-fast: false
2632
max-parallel: 10
2733
services:
@@ -39,7 +45,7 @@ jobs:
3945
with:
4046
php-version: ${{ matrix.php-version }}
4147
extensions: mbstring, xdebug, curl, dom, fileinfo, gd, iconv, intl, json, xml, mbstring, pdo, phar, zip, sodium, pdo_mysql
42-
tools: composer:2.2
48+
tools: composer:${{ matrix.composer-version }}
4349

4450
- name: "Check PHP Version"
4551
run: php -v
@@ -63,8 +69,7 @@ jobs:
6369

6470
- name: "Get composer cache directory"
6571
id: composer-cache
66-
run: echo "dir=$(php -d error_reporting=E_ALL\&~E_DEPRECATED $(which composer) config cache-files-dir)" >> $GITHUB_OUTPUT
67-
# run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
72+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
6873

6974
- name: "Cache Composer dependencies"
7075
uses: actions/cache@v3

0 commit comments

Comments
 (0)