Skip to content

Commit 8795c03

Browse files
authored
Update to shivammathur/[email protected] (webonyx#741)
`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.
1 parent 5745bf6 commit 8795c03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v2
2525

2626
- name: Install PHP
27-
uses: shivammathur/setup-php@2.2.2
27+
uses: shivammathur/setup-php@2.9.0
2828
with:
2929
php-version: ${{ matrix.php }}
3030
coverage: none
@@ -58,7 +58,7 @@ jobs:
5858
- uses: actions/checkout@v2
5959

6060
- name: Install PHP
61-
uses: shivammathur/setup-php@2.2.2
61+
uses: shivammathur/setup-php@2.9.0
6262
with:
6363
php-version: 7.1
6464
coverage: none
@@ -89,7 +89,7 @@ jobs:
8989
- uses: actions/checkout@v2
9090

9191
- name: Install PHP
92-
uses: shivammathur/setup-php@2.2.2
92+
uses: shivammathur/setup-php@2.9.0
9393
with:
9494
php-version: 7.1
9595
coverage: none
@@ -122,7 +122,7 @@ jobs:
122122
ref: ${{ github.ref }}
123123

124124
- name: Install PHP
125-
uses: shivammathur/setup-php@2.2.2
125+
uses: shivammathur/setup-php@2.9.0
126126
with:
127127
php-version: 7.2
128128
coverage: pcov

0 commit comments

Comments
 (0)