1313jobs :
1414 cs :
1515 name : ' Check coding style'
16- runs-on : ' ubuntu-20.04 '
16+ runs-on : ' ubuntu-latest '
1717
1818 steps :
1919 - name : ' Checkout current revision'
20- uses : ' actions/checkout@v3 '
20+ uses : ' actions/checkout@v4 '
2121
2222 - name : ' Setup PHP'
2323 uses : ' shivammathur/setup-php@v2'
2424 with :
25- php-version : ' 8.2 '
25+ php-version : ' 8.3 '
2626 tools : ' composer'
2727 coverage : ' none'
2828
3131 run : ' echo "::set-output name=path::$(composer global config cache-dir)"'
3232
3333 - name : ' Share Composer cache across runs'
34- uses : ' actions/cache@v3 '
34+ uses : ' actions/cache@v4 '
3535 with :
3636 path : ' ${{ steps.cachedir.outputs.path }}'
3737 key : " composer-${{ github.job }}-${{ hashFiles('**/composer.json') }}"
@@ -47,17 +47,17 @@ jobs:
4747
4848 stan :
4949 name : ' Static code analyzer'
50- runs-on : ' ubuntu-20.04 '
50+ runs-on : ' ubuntu-latest '
5151 continue-on-error : true
5252
5353 steps :
5454 - name : ' Checkout current revision'
55- uses : ' actions/checkout@v3 '
55+ uses : ' actions/checkout@v4 '
5656
5757 - name : ' Setup PHP'
5858 uses : ' shivammathur/setup-php@v2'
5959 with :
60- php-version : ' 8.2 '
60+ php-version : ' 8.3 '
6161 tools : ' composer'
6262 coverage : ' none'
6363
6666 run : ' echo "::set-output name=path::$(composer global config cache-dir)"'
6767
6868 - name : ' Share Composer cache across runs'
69- uses : ' actions/cache@v3 '
69+ uses : ' actions/cache@v4 '
7070 with :
7171 path : ' ${{ steps.cachedir.outputs.path }}'
7272 key : " composer-${{ github.job }}-${{ hashFiles('**/composer.json') }}"
@@ -83,20 +83,21 @@ jobs:
8383 unit :
8484 name : ' Run unit tests'
8585 if : " !contains(github.event.commits[0].message, '[skip ci]') && !contains(github.event.commits[0].message, '[ci skip]')"
86- runs-on : ' ubuntu-20.04 '
86+ runs-on : ' ubuntu-latest '
8787
8888 strategy :
8989 fail-fast : false
9090 matrix :
9191 php :
92- - ' 8.2'
92+ - ' 8.3'
93+ - ' 8.4'
9394
9495 env :
9596 PHP_VERSION : ' ${{ matrix.php }}'
9697
9798 steps :
9899 - name : ' Checkout current revision'
99- uses : ' actions/checkout@v3 '
100+ uses : ' actions/checkout@v4 '
100101
101102 - name : ' Setup PHP'
102103 uses : ' shivammathur/setup-php@v2'
@@ -110,7 +111,7 @@ jobs:
110111 run : ' echo "::set-output name=path::$(composer global config cache-dir)"'
111112
112113 - name : ' Share Composer cache across runs'
113- uses : ' actions/cache@v3 '
114+ uses : ' actions/cache@v4 '
114115 with :
115116 path : ' ${{ steps.cachedir.outputs.path }}'
116117 key : " composer-${{ matrix.php }}-${{ hashFiles('**/composer.json') }}"
@@ -128,38 +129,38 @@ jobs:
128129 run : ' composer run unit -- --coverage-clover=clover.xml'
129130
130131 - name : ' Export coverage results'
131- uses : ' codecov/codecov-action@v3 '
132+ uses : ' codecov/codecov-action@v4 '
132133 with :
133134 file : ' ./clover.xml'
134135 env_vars : PHP_VERSION
135136
136137 - name : ' Archive code coverage results'
137- uses : ' actions/upload-artifact@v3 '
138+ uses : ' actions/upload-artifact@v4 '
138139 with :
139140 name : ' PHP ${{ matrix.php }}'
140141 path : ' clover.xml'
141142
142143 unit-lowest :
143144 name : ' Run unit tests with lowest-matching dependencies versions'
144145 if : " !contains(github.event.commits[0].message, '[skip ci]') && !contains(github.event.commits[0].message, '[ci skip]')"
145- runs-on : ' ubuntu-20.04 '
146+ runs-on : ' ubuntu-latest '
146147
147148 steps :
148149 - name : ' Checkout current revision'
149- uses : ' actions/checkout@v3 '
150+ uses : ' actions/checkout@v4 '
150151
151152 - name : ' Setup PHP'
152153 uses : ' shivammathur/setup-php@v2'
153154 with :
154- php-version : ' 8.2 '
155+ php-version : ' 8.3 '
155156 tools : ' composer'
156157
157158 - name : ' Discover Composer cache directory'
158159 id : ' cachedir'
159160 run : ' echo "::set-output name=path::$(composer global config cache-dir)"'
160161
161162 - name : ' Share Composer cache across runs'
162- uses : ' actions/cache@v3 '
163+ uses : ' actions/cache@v4 '
163164 with :
164165 path : ' ${{ steps.cachedir.outputs.path }}'
165166 key : " composer-lowest-${{ hashFiles('**/composer.json') }}"
0 commit comments