File tree Expand file tree Collapse file tree 3 files changed +9
-24
lines changed Expand file tree Collapse file tree 3 files changed +9
-24
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,10 @@ jobs:
54
54
- name : " Show driver information"
55
55
run : " php --ri mongodb"
56
56
57
- - name : " Cache dependencies installed with Composer"
58
- uses : " actions/cache@v2"
59
- with :
60
- path : " ~/.composer/cache"
61
- key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
62
- restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
63
-
64
57
- name : " Install dependencies with Composer"
65
- run : " composer install --no-interaction --no-progress --no-suggest"
58
+
59
+ with :
60
+ composer-options : " --no-suggest"
66
61
67
62
# The -q option is required until phpcs v4 is released
68
63
- name : " Run PHP_CodeSniffer"
Original file line number Diff line number Diff line change @@ -54,15 +54,10 @@ jobs:
54
54
- name : " Show driver information"
55
55
run : " php --ri mongodb"
56
56
57
- - name : " Cache dependencies installed with Composer"
58
- uses : " actions/cache@v2"
59
- with :
60
- path : " ~/.composer/cache"
61
- key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
62
- restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
63
-
64
57
- name : " Install dependencies with Composer"
65
- run : " composer install --no-interaction --no-progress --no-suggest"
58
+
59
+ with :
60
+ composer-options : " --no-suggest"
66
61
67
62
- name : " Run Psalm"
68
63
run : " vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)"
Original file line number Diff line number Diff line change @@ -99,15 +99,10 @@ jobs:
99
99
- name : " Show driver information"
100
100
run : " php --ri mongodb"
101
101
102
- - name : " Cache dependencies installed with composer "
103
- uses : " actions/cache@v2 "
102
+ - name : " Install dependencies with Composer "
103
+
104
104
with :
105
- path : " ~/.composer/cache"
106
- key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
107
- restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
108
-
109
- - name : " Install dependencies with composer"
110
- run : " composer update --no-interaction --no-progress"
105
+ composer-options : " --no-suggest"
111
106
112
107
- name : " Run PHPUnit"
113
108
run : " vendor/bin/simple-phpunit -v"
You can’t perform that action at this time.
0 commit comments