File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- name : " Checkout code"
21
- uses : actions/checkout@v2
21
+ uses : actions/checkout@v3
22
22
23
23
- name : PHP-CS-Fixer
24
24
uses : docker://oskarstark/php-cs-fixer-ga
@@ -34,10 +34,10 @@ jobs:
34
34
35
35
steps :
36
36
- name : " Checkout code"
37
- uses : actions/checkout@v2.3.3
37
+ uses : actions/checkout@v3
38
38
39
39
- name : " Install PHP with extensions"
40
- uses : shivammathur/setup-php@2.7.0
40
+ uses : shivammathur/setup-php@v2
41
41
with :
42
42
coverage : " none"
43
43
extensions : intl
@@ -46,10 +46,10 @@ jobs:
46
46
47
47
- name : " Set composer cache directory"
48
48
id : composer-cache
49
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
49
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
50
50
51
51
- name : " Cache composer"
52
- uses : actions/cache@v2.1.2
52
+ uses : actions/cache@v3
53
53
with :
54
54
path : ${{ steps.composer-cache.outputs.dir }}
55
55
key : ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ jobs:
34
34
35
35
steps :
36
36
- name : " Checkout code"
37
- uses : actions/checkout@v2.3.3
37
+ uses : actions/checkout@v3
38
38
39
39
- name : " Install PHP with extensions"
40
- uses : shivammathur/setup-php@2.7.0
40
+ uses : shivammathur/setup-php@v2
41
41
with :
42
42
coverage : " none"
43
43
extensions : " intl, mbstring, pdo_sqlite"
@@ -49,10 +49,11 @@ jobs:
49
49
50
50
- name : " Set composer cache directory"
51
51
id : composer-cache
52
- run : echo "::set-output name=dir::$(composer config cache-files-dir)"
52
+ run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
53
+ shell : bash
53
54
54
55
- name : " Cache composer"
55
- uses : actions/cache@v2.1.2
56
+ uses : actions/cache@v3
56
57
with :
57
58
path : ${{ steps.composer-cache.outputs.dir }}
58
59
key : ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('composer.json') }}
You can’t perform that action at this time.
0 commit comments