File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
12
- - uses : actions/checkout@v3
12
+ - uses : actions/checkout@v4
13
13
14
14
- name : Setup PHP
15
15
uses : shivammathur/setup-php@v2
@@ -24,11 +24,13 @@ jobs:
24
24
key : ${{ runner.os }}-php-8.2-${{ hashFiles('**/composer.lock') }}
25
25
restore-keys : |
26
26
${{ runner.os }}-php-8.2
27
+
27
28
- name : Install dependencies
28
29
if : steps.composer-cache.outputs.cache-hit != 'true'
29
30
run : |
30
31
composer install
31
32
composer dump
33
+
32
34
- name : Fix styles
33
35
run : vendor/bin/php-cs-fixer fix
34
36
Original file line number Diff line number Diff line change 18
18
name : PHP${{ matrix.php }}
19
19
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@v4
22
22
23
23
- name : Setup PHP
24
24
uses : shivammathur/setup-php@v2
28
28
- name : Validate composer.json and composer.lock
29
29
run : composer validate
30
30
31
- - name : Cache Composer packages
32
- id : composer-cache
33
- uses : actions/cache@v2
34
- with :
35
- path : vendor
36
- key : ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
37
- restore-keys : |
38
- ${{ runner.os }}-php-${{ matrix.php }}-
39
-
40
31
- name : Install dependencies
41
- if : steps.composer-cache.outputs.cache-hit != 'true'
42
32
run : |
43
33
composer install
44
34
composer dump
You can’t perform that action at this time.
0 commit comments