@@ -13,55 +13,43 @@ jobs:
13
13
phpunit-versions : ['latest']
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v4
17
17
18
18
- name : Setup PHP
19
19
uses : shivammathur/setup-php@v2
20
20
with :
21
21
php-version : ${{ matrix.php-versions }}
22
22
extensions : mbstring, intl, sodium
23
23
ini-values : post_max_size=256M, max_execution_time=180
24
- tools : psalm, phpunit:${{ matrix.phpunit-versions }}
24
+ tools : psalm
25
25
26
26
- name : Install dependencies
27
27
run : composer install
28
28
29
29
- name : PHPUnit tests
30
- uses : php-actions/phpunit@v2
31
- timeout-minutes : 30
32
- with :
33
- memory_limit : 256M
34
- - name : Static Analysis
35
- run : vendor/bin/psalm
30
+ run : vendor/bin/phpunit
36
31
37
32
modern :
38
33
name : PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
39
34
runs-on : ${{ matrix.operating-system }}
40
35
strategy :
41
36
matrix :
42
37
operating-system : ['ubuntu-latest']
43
- php-versions : ['7.4', '8.0']
44
- phpunit-versions : ['latest']
38
+ php-versions : ['8.0', '8.1', '8.2', '8.3', '8.4']
45
39
steps :
46
40
- name : Checkout
47
- uses : actions/checkout@v2
41
+ uses : actions/checkout@v4
48
42
49
43
- name : Setup PHP
50
44
uses : shivammathur/setup-php@v2
51
45
with :
52
46
php-version : ${{ matrix.php-versions }}
53
47
extensions : mbstring, intl, sodium
54
48
ini-values : post_max_size=256M, max_execution_time=180
55
- tools : psalm, phpunit:${{ matrix.phpunit-versions }}
49
+ tools : psalm
56
50
57
51
- name : Install dependencies
58
52
run : composer install
59
53
60
54
- name : PHPUnit tests
61
- uses : php-actions/phpunit@v2
62
- timeout-minutes : 30
63
- with :
64
- memory_limit : 256M
65
-
66
- - name : Static Analysis
67
- run : vendor/bin/psalm
55
+ run : vendor/bin/phpunit
0 commit comments