File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 strategy :
99 fail-fast : true
1010 matrix :
11- php : [7.2 , 7.3, 7.4 ]
12- dependency-version : [prefer-lowest, prefer-stable]
11+ php : [7.4 , 7.3, 7.2 ]
12+ stability : [prefer-lowest, prefer-stable]
1313
14- name : PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
14+ name : PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
1515
1616 env :
1717 DHLPARCEL_ACCOUNT_ID : ${{ secrets.DHLPARCEL_ACCOUNT_ID }}
@@ -22,20 +22,19 @@ jobs:
2222 - name : Checkout code
2323 uses : actions/checkout@v2
2424
25- - name : Cache dependencies
26- uses : actions/cache@v2
27- with :
28- path : ~/.composer/cache/files
29- key : dependencies-composer-${{ hashFiles('composer.json') }}
30-
3125 - name : Setup PHP
3226 uses : shivammathur/setup-php@v2
3327 with :
3428 php-version : ${{ matrix.php }}
3529 coverage : none
3630
31+ - name : Setup problem matchers
32+ run : |
33+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
34+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
35+
3736 - name : Install dependencies
38- run : composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
37+ run : composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
3938
4039 - name : Require illuminate/collections
4140 run : composer require illuminate/collections
You can’t perform that action at this time.
0 commit comments