File tree Expand file tree Collapse file tree 3 files changed +7514
-10
lines changed Expand file tree Collapse file tree 3 files changed +7514
-10
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
6
6
jobs :
7
+
8
+ composer :
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ include :
15
+ - php-version : ' 7.4'
16
+ lock-version : ' 3.4'
17
+ - php-version : ' 7.4'
18
+ lock-version : ' 4.4'
19
+ - php-version : ' 8.0'
20
+ lock-version : ' 5.0'
21
+ - php-version : ' 8.0'
22
+ lock-version : ' 5.4'
23
+ - php-version : ' 8.0'
24
+ lock-version : ' 6.0'
25
+ - php-version : ' 8.1'
26
+ lock-version : ' 6.4'
27
+ - php-version : ' 8.2'
28
+ lock-version : ' 7.0'
29
+
30
+ steps :
31
+ - uses : ' shivammathur/setup-php@v2'
32
+ with :
33
+ php-version : ${{ matrix.php-version }}
34
+ tools : composer
35
+
36
+ - uses : actions/checkout@v3
37
+
38
+ - name : Set versions
39
+ run : cp composer.${{ matrix.lock-version }}.lock composer.lock
40
+
41
+ - name : Install dependencies
42
+ uses : ramsey/composer-install@v2
43
+
44
+ - name : Validate composer.json and composer.lock
45
+ run : composer validate --strict
46
+
7
47
phpunit :
8
48
runs-on : ubuntu-latest
9
49
23
63
lock-version : ' 6.0'
24
64
- php-version : ' 8.1'
25
65
lock-version : ' 6.4'
66
+ - php-version : ' 8.2'
67
+ lock-version : ' 7.0'
26
68
27
69
steps :
28
70
- uses : ' shivammathur/setup-php@v2'
You can’t perform that action at this time.
0 commit comments