Merge pull request #4 from SkillDisplay/feature/composer-v2-support

Use composer v1 in CI
This commit is contained in:
Markus Klein 2020-12-01 11:01:20 +01:00 committed by GitHub
commit 174d2ff691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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