Skip to content

Commit 1375cdd

Browse files
authored
Merge pull request mongodb#2045 from jenssegers/fix-failed-command-in-ci
Fix failed command in ci
2 parents 4a7f5c1 + 31ee326 commit 1375cdd

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/build-ci.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{matrix.os}}
1212
strategy:
1313
matrix:
14-
php: ['7.1', '7.2', '7.3', '7.4']
14+
php: ['7.2', '7.3', '7.4']
1515
os: ['ubuntu-latest']
1616
mongodb: ['3.6', '4.0', '4.2']
1717
services:
@@ -30,9 +30,16 @@ jobs:
3030
name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }}
3131

3232
steps:
33-
- uses: actions/checkout@v1
33+
- uses: actions/checkout@v2
34+
- name: "Installing php"
35+
uses: shivammathur/setup-php@v2
36+
with:
37+
php-version: ${{ matrix.php }}
38+
extensions: curl,mbstring,xdebug
39+
coverage: xdebug
40+
tools: composer
3441
- name: Show PHP version
35-
run: php${{ matrix.php }} -v && composer -V
42+
run: php -v && composer -V
3643
- name: Show Docker version
3744
run: if [[ "$DEBUG" == "true" ]]; then docker version && env; fi
3845
env:

0 commit comments

Comments
 (0)