mirror of
https://github.com/SkillDisplay/TYPO3ContentElements.git
synced 2024-11-24 11:56:09 +01:00
Use composer v1 in CI
Not all dev dependencies are v2 ready. maglnet/composer-require-checker has a dependency to ocramius/package-versions version which requires v1 composer API. Once a newer version is required, we can use v2.
This commit is contained in:
parent
3f9c078395
commit
7c4a9820b4
1 changed files with 6 additions and 0 deletions
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
@ -70,6 +70,9 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-composer-
|
${{ runner.os }}-composer-
|
||||||
|
|
||||||
|
- name: Keep composer v1 until all dev dependencies are v2 ready
|
||||||
|
run: sudo composer selfupdate --1
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-progress --no-suggest --no-plugins
|
run: composer install --prefer-dist --no-progress --no-suggest --no-plugins
|
||||||
|
|
||||||
|
@ -139,6 +142,9 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-composer-
|
${{ runner.os }}-composer-
|
||||||
|
|
||||||
|
- name: Keep composer v1 until all dev dependencies are v2 ready
|
||||||
|
run: sudo composer selfupdate --1
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-progress --no-suggest
|
run: composer install --prefer-dist --no-progress --no-suggest
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue