@@ -11,33 +11,22 @@ jobs:
1111
1212 strategy :
1313 matrix :
14- php : [8.1, 8.0, 7.4, 7.3, 7.2]
15- laravel : [9.*, 8.*, 7.*, 6.*]
1614 os : [ubuntu-latest]
17- include :
18- - laravel : 9.*
19- testbench : 7.*
20- - laravel : 8.*
21- testbench : 6.*
22- - laravel : 7.*
23- testbench : 5.*
24- - laravel : 6.*
25- testbench : 4.*
26- exclude :
27- - laravel : 9.*
28- php : 7.2
29- - laravel : 9.*
30- php : 7.3
31- - laravel : 9.*
32- php : 7.4
33- - laravel : 8.*
34- php : 7.2
35- - laravel : 6.*
36- php : 8.1
37- - laravel : 7.*
38- php : 8.1
15+ payload :
16+ - { laravel: '10.*', php: '8.2', 'testbench': '8.*'}
17+ - { laravel: '10.*', php: '8.1', 'testbench': '8.*'}
18+ - { laravel: '9.*', php: '8.2', 'testbench': '7.*'}
19+ - { laravel: '9.*', php: '8.1', 'testbench': '7.*'}
20+ - { laravel: '9.*', php: '8.0', 'testbench': '7.*'}
21+ - { laravel: '8.*', php: '8.1', 'testbench': '6.*'}
22+ - { laravel: '8.*', php: '8.0', 'testbench': '6.*'}
23+ - { laravel: '8.*', php: '7.4', 'testbench': '6.*'}
24+ - { laravel: '7.*', php: '8.0', 'testbench': '5.*' }
25+ - { laravel: '7.*', php: '7.4', 'testbench': '5.*' }
26+ - { laravel: '6.*', php: '8.0', 'testbench': '4.*' }
27+ - { laravel: '6.*', php: '7.4', 'testbench': '4.*' }
3928
40- name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
29+ name : PHP ${{ matrix.payload. php }} - Laravel ${{ matrix.payload .laravel }}
4130
4231 services :
4332 mysql :
@@ -54,19 +43,19 @@ jobs:
5443
5544 steps :
5645 - name : Checkout code
57- uses : actions/checkout@v1
46+ uses : actions/checkout@v3
5847
5948 - name : Setup PHP
6049 uses : shivammathur/setup-php@v2
6150 with :
62- php-version : ${{ matrix.php }}
51+ php-version : ${{ matrix.payload. php }}
6352 extensions : mbstring, dom, fileinfo, mysql
6453 coverage : none
6554
6655 - name : Install dependencies
6756 run : |
68- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
69- composer update --prefer-stable --prefer-dist --no-interaction --no-suggest
57+ composer require "laravel/framework:${{ matrix.payload. laravel }}" "orchestra/testbench:${{ matrix.payload .testbench }}" --no-interaction --no-update
58+ composer update --prefer-stable --prefer-dist --no-interaction
7059 - name : Execute tests
7160 env :
7261 CI_DB_DRIVER : mysql
0 commit comments