File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 6
6
- master
7
7
pull_request :
8
8
9
+ jobs :
9
10
roave-bc-check :
10
11
name : Roave BC Check
11
12
runs-on : ubuntu-latest
15
16
uses : actions/checkout@v2
16
17
17
18
- name : Roave BC Check
18
- uses : " docker://nyholm/roave-bc-check-ga"
19
+ uses : " docker://nyholm/roave-bc-check-ga"
Original file line number Diff line number Diff line change 2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - master
5
7
pull_request :
6
8
7
9
jobs :
@@ -25,13 +27,13 @@ jobs:
25
27
26
28
- name : Install PHP 7 dependencies
27
29
run : composer update --prefer-dist --no-interaction --no-progress
28
- if : " matrix.php != '8.0' "
30
+ if : " startsWith( matrix.php, '7.') "
29
31
30
32
- name : Install PHP 8 dependencies
31
33
run : |
32
34
composer require "phpdocumentor/reflection-docblock:^5.2@dev" --no-interaction --no-update
33
35
composer update --prefer-dist --prefer-stable --no-interaction --no-progress --ignore-platform-req=php
34
- if : " matrix.php == '8.0' "
36
+ if : " startsWith( matrix.php, '8.') "
35
37
36
38
- name : Execute tests
37
39
run : composer test
41
43
runs-on : ubuntu-latest
42
44
strategy :
43
45
matrix :
44
- php : ['7.1', '7.2 ', '7.3', '7.4 ']
46
+ php : ['7.1', '7.4 ', '8.0 ']
45
47
46
48
steps :
47
49
- name : Checkout code
You can’t perform that action at this time.
0 commit comments