File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 16
16
git config --global core.eol lf
17
17
18
18
- name : Checkout
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v4
20
20
21
21
- name : Setup PHP
22
22
uses : shivammathur/setup-php@v2
26
26
coverage : none
27
27
28
28
- name : Install PHP dependencies
29
- uses : ramsey/composer-install@v1
29
+ uses : ramsey/composer-install@v3
30
30
with :
31
31
dependency-versions : highest
32
32
composer-options : " --prefer-dist"
@@ -45,16 +45,19 @@ jobs:
45
45
46
46
steps :
47
47
- name : Checkout
48
- uses : actions/checkout@v2
48
+ uses : actions/checkout@v4
49
49
50
50
- name : Setup PHP
51
51
uses : shivammathur/setup-php@v2
52
52
with :
53
53
php-version : 8.2
54
54
coverage : none
55
55
56
- - name : Install Dependencies
57
- run : composer update --prefer-stable --no-interaction --prefer-dist --no-progress --ansi
56
+ - name : Install PHP dependencies
57
+ uses : ramsey/composer-install@v3
58
+ with :
59
+ dependency-versions : highest
60
+ composer-options : " --prefer-dist"
58
61
59
62
- name : Run PHPStan
60
63
run : vendor/bin/phpstan analyse --no-progress --ansi
Original file line number Diff line number Diff line change 8
8
strategy :
9
9
matrix :
10
10
os : [ubuntu-latest]
11
- php : ['8.1 ', '8.2']
12
- dependency-version : [prefer-lowest, prefer-stable ]
11
+ php : ['8.4', '8.3 ', '8.2']
12
+ dependency-version : [highest, lowest ]
13
13
14
14
name : PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
15
15
16
16
steps :
17
17
- name : Checkout
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
19
20
20
- name : Setup PHP
21
21
uses : shivammathur/setup-php@v2
29
29
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
30
30
31
31
- name : Install PHP dependencies
32
- run : composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
32
+ uses : ramsey/composer-install@v3
33
+ with :
34
+ dependency-versions : ${{ matrix.dependency-version }}
35
+ composer-options : --prefer-dist
33
36
34
37
- name : Unit Tests
35
38
run : ./vendor/bin/phpunit --colors=always
You can’t perform that action at this time.
0 commit comments