File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 7
7
build :
8
8
runs-on : ubuntu-latest
9
9
10
+ strategy :
11
+ matrix :
12
+ php-version : ['7.3', '7.4', '8.0']
13
+
10
14
steps :
11
- - uses : actions/checkout@v2
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+
18
+ - name : Setup PHP ${{ matrix.php-version }}
19
+ uses : shivammathur/setup-php@v2
20
+ with :
21
+ php-version : ${{ matrix.php-version }}
12
22
13
23
- name : Validate composer.json and composer.lock
14
24
run : composer validate
15
25
16
26
- name : Install dependencies
17
- run : composer install --prefer-dist --no-progress --no-suggest
27
+ run : composer update --prefer-dist --no-progress
18
28
19
29
- name : Run test suite
20
30
run : composer run-script ci-test
Original file line number Diff line number Diff line change 20
20
"ci-test" : " vendor/bin/phpunit --coverage-clover coverage.xml"
21
21
},
22
22
"require" : {
23
- "php" : " ^7.2 " ,
23
+ "php" : " ^7.3|^8.0 " ,
24
24
"illuminate/support" : " ^6.0|^7.0|^8.0" ,
25
25
"illuminate/container" : " ^6.0|^7.0|^8.0" ,
26
26
"illuminate/database" : " ^6.0|^7.0|^8.0" ,
You can’t perform that action at this time.
0 commit comments