File tree 2 files changed +19
-10
lines changed
2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ indent_style = space
8
8
insert_final_newline = true
9
9
max_line_length = 120
10
10
tab_width = 4
11
+
12
+ [{* .yml, * .yaml} ]
13
+ indent_size = 2
14
+ tab_width = 2
Original file line number Diff line number Diff line change 1
1
name : PHPUnit
2
2
3
- on : [push]
3
+ on : [ push ]
4
4
5
5
jobs :
6
6
test :
7
+ strategy :
8
+ matrix :
9
+ php-version :
10
+ - ' 8.0'
11
+ - ' 8.1'
7
12
8
13
runs-on : ubuntu-latest
9
14
10
15
steps :
11
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v2
12
17
13
- - name : Setup PHP
14
- uses : shivammathur/setup-php@v2
15
- with :
16
- php-version : ' 8.0 '
18
+ - name : Setup PHP
19
+ uses : shivammathur/setup-php@v2
20
+ with :
21
+ php-version : ${{ matrix.php-version }}
17
22
18
- - name : Install dependencies
19
- run : composer install --prefer-dist --no-progress --no-suggest
23
+ - name : Install dependencies
24
+ run : composer install --prefer-dist --no-progress --no-suggest
20
25
21
- - name : Run tests
22
- run : composer run-script test
26
+ - name : Run tests
27
+ run : composer run-script test
You can’t perform that action at this time.
0 commit comments