6
6
7
7
jobs :
8
8
psalm :
9
-
10
9
runs-on : ubuntu-latest
11
-
12
-
13
-
14
10
steps :
15
- - uses : actions/checkout@v2
16
-
17
-
11
+ - uses : actions/checkout@v4
18
12
19
13
- name : Setup PHP
20
14
uses : shivammathur/setup-php@v2
21
15
with :
22
16
php-version : ' 8.0'
23
17
coverage : none
24
18
25
-
26
-
27
19
- name : Validate composer.json and composer.lock
28
20
run : composer validate
29
21
30
-
31
-
32
22
- name : Install dependencies
33
23
run : composer install --no-progress --no-ansi
34
24
35
-
36
-
37
25
- name : Run Psalm
38
26
run : composer run-script psalm
39
27
40
28
tests :
41
-
42
29
runs-on : ubuntu-latest
43
-
44
30
strategy :
45
31
fail-fast : false
46
32
matrix :
47
- php : [8.0, 8.1, 8.2, 8.3]
33
+ php : [8.0, 8.1, 8.2, 8.3, 8.4 ]
48
34
laravel : ['8.*', '9.*', '10.*', '11.*', '12.*']
49
35
include :
50
36
- laravel : 8.*
@@ -70,70 +56,47 @@ jobs:
70
56
php : 8.1
71
57
72
58
name : Laravel ${{ matrix.laravel }} with PHP ${{ matrix.php }}
73
-
74
-
75
-
76
59
steps :
77
60
- name : Checkout code
78
- uses : actions/checkout@v2
79
-
80
-
61
+ uses : actions/checkout@v4
81
62
82
63
- name : Setup PHP
83
64
uses : shivammathur/setup-php@v2
84
65
with :
85
66
php-version : ${{ matrix.php }}
86
67
coverage : none
87
68
88
-
89
-
90
69
- name : Install dependencies
91
70
run : |
92
71
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
93
72
composer require "orchestra/testbench:${{ matrix.testbench }}" --dev --no-interaction --no-update
94
73
composer update --prefer-dist --no-interaction
95
74
96
-
97
-
98
75
- name : Execute tests
99
76
run : composer run-script test
100
77
101
78
coverage :
102
-
103
79
name : Coverage
104
-
105
80
needs :
106
81
- tests
107
-
108
82
runs-on : ubuntu-latest
109
-
110
-
111
-
112
83
steps :
113
- - uses : actions/checkout@v2
114
-
115
-
84
+ - uses : actions/checkout@v4
116
85
117
86
- name : Setup PHP
118
87
uses : shivammathur/setup-php@v2
119
88
with :
120
89
php-version : 8.0
121
90
coverage : xdebug
122
91
123
-
124
-
125
92
- name : Validate composer.json and composer.lock
126
93
run : composer validate
127
94
128
-
129
-
130
95
- name : Install dependencies
131
96
run : composer install --prefer-dist --no-interaction
132
97
133
-
134
-
135
98
- name : Run test suite
136
- uses : paambaati/codeclimate-action@v5.0.0
99
+ uses : paambaati/codeclimate-action@v9
137
100
env :
138
101
CC_TEST_REPORTER_ID : ${{ secrets.CC_REPORTER_ID }}
139
102
with :
0 commit comments