Skip to content

Commit

Permalink
Fix Composer problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 30, 2020
1 parent b758775 commit 58013fe
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: "Validate Composer"
run: "composer validate"

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -77,7 +80,7 @@ jobs:
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest -vvv"
run: "composer update --no-interaction --no-progress --no-suggest"

- name: "Transform source code"
if: matrix.php-version != '7.4' && matrix.php-version != '8.0'
Expand Down Expand Up @@ -113,6 +116,9 @@ jobs:
php-version: "${{ matrix.php-version }}"
tools: composer:v2

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -154,6 +160,9 @@ jobs:
extensions: ds,mbstring
ini-values: memory_limit=512M

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -185,6 +194,9 @@ jobs:
tools: pecl, composer:v2
extensions: ds

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -233,6 +245,9 @@ jobs:
extensions: mbstring
tools: composer:v2

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -269,6 +284,9 @@ jobs:
extensions: mbstring
tools: composer:v2

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -317,6 +335,9 @@ jobs:
ini-values: memory_limit=256M
tools: composer:v2

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -351,6 +372,9 @@ jobs:
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-${{ matrix.php-version }}-composer-"

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-dev --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -387,6 +411,9 @@ jobs:
php-version: "${{ matrix.php-version }}"
tools: composer:v2

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down Expand Up @@ -425,6 +452,9 @@ jobs:
tools: ${{ matrix.tools }}, composer:v2
extensions: ${{ matrix.extensions }}

- name: "Set Composer GitHub access token"
run: "composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}"

- name: "Install dependencies"
run: "composer update --no-interaction --no-progress --no-suggest"

Expand Down

0 comments on commit 58013fe

Please sign in to comment.