Skip to content

Commit

Permalink
Update to shivammathur/setup-php@2.9.0 (#741)
Browse files Browse the repository at this point in the history
`set-env` and `add-path` are disabled in GitHub actions. 
See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

This requires an update to the action using those
commands. This means at least version 2.6.0 is
needed. See shivammathur/setup-php#300

However there seem to be no breaking changes so we
can go straight to 2.9.0 instead. This also allows testing
with version 8.x of PHP.
  • Loading branch information
Kingdutch committed Nov 27, 2020
1 parent 5745bf6 commit 8795c03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2

- name: Install PHP
uses: shivammathur/setup-php@2.2.2
uses: shivammathur/setup-php@2.9.0
with:
php-version: ${{ matrix.php }}
coverage: none
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v2

- name: Install PHP
uses: shivammathur/setup-php@2.2.2
uses: shivammathur/setup-php@2.9.0
with:
php-version: 7.1
coverage: none
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- uses: actions/checkout@v2

- name: Install PHP
uses: shivammathur/setup-php@2.2.2
uses: shivammathur/setup-php@2.9.0
with:
php-version: 7.1
coverage: none
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
ref: ${{ github.ref }}

- name: Install PHP
uses: shivammathur/setup-php@2.2.2
uses: shivammathur/setup-php@2.9.0
with:
php-version: 7.2
coverage: pcov
Expand Down

0 comments on commit 8795c03

Please sign in to comment.