1
0
Fork 0

Allow alpha and above for latest deps build to catch dependency problems earlier next time

pull/10327/head
Jordi Boggiano 2021-11-30 10:31:25 +01:00
parent 42c2108956
commit 965b12cdec
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ jobs:
- name: "Remove platform config to get latest dependencies for current PHP version when build is not locked" - name: "Remove platform config to get latest dependencies for current PHP version when build is not locked"
run: "composer config platform --unset" run: "composer config platform --unset"
- name: "Allow alpha releases for latest-deps builds to catch problems earlier"
if: "contains(matrix.dependencies, 'highest')"
run: "composer config minimum-stability alpha"
- name: "Update dependencies from composer.json using composer binary provided by system" - name: "Update dependencies from composer.json using composer binary provided by system"
if: "contains(matrix.dependencies, 'highest') || contains(matrix.dependencies, 'lowest')" if: "contains(matrix.dependencies, 'highest') || contains(matrix.dependencies, 'lowest')"
run: "composer update ${{ env.COMPOSER_UPDATE_FLAGS }} ${{ env.COMPOSER_FLAGS }}" run: "composer update ${{ env.COMPOSER_UPDATE_FLAGS }} ${{ env.COMPOSER_FLAGS }}"