@@ -19,16 +19,18 @@ jobs:
1919 runs-on : ['ubuntu-latest']
2020
2121 steps :
22- - uses : actions/checkout@v3
22+ - uses : actions/checkout@v4
2323 with :
2424 fetch-depth : 0
2525
2626 - name : Lint Code Base
27- uses : github /super-linter/slim@v5
27+ uses : super-linter /super-linter/slim@v7
2828 env :
29+ SAVE_SUPER_LINTER_OUTPUT : false
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31+ LINTER_RULES_PATH : ' tools/linters'
2932 LOG_LEVEL : NOTICE
3033 VALIDATE_ALL_CODEBASE : true
31- LINTER_RULES_PATH : ' tools/linters'
3234 VALIDATE_CSS : true
3335 VALIDATE_JAVASCRIPT_ES : true
3436 VALIDATE_JSON : true
@@ -48,21 +50,21 @@ jobs:
4850 uses : shivammathur/setup-php@v2
4951 with :
5052 # Should be the higest supported version, so we can use the newest tools
51- php-version : ' 8.2 '
53+ php-version : ' 8.3 '
5254 tools : composer, composer-require-checker, composer-unused, phpcs, psalm
5355 # optional performance gain for psalm: opcache
5456 extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, spl, xml
5557
5658 - name : Setup problem matchers for PHP
5759 run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
5860
59- - uses : actions/checkout@v3
61+ - uses : actions/checkout@v4
6062
6163 - name : Get composer cache directory
6264 run : echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV"
6365
6466 - name : Cache composer dependencies
65- uses : actions/cache@v3
67+ uses : actions/cache@v4
6668 with :
6769 path : $COMPOSER_CACHE
6870 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -114,21 +116,21 @@ jobs:
114116 uses : shivammathur/setup-php@v2
115117 with :
116118 # Should be the lowest supported version
117- php-version : ' 8.0 '
119+ php-version : ' 8.1 '
118120 extensions : ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
119121 tools : composer
120122 coverage : none
121123
122124 - name : Setup problem matchers for PHP
123125 run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
124126
125- - uses : actions/checkout@v3
127+ - uses : actions/checkout@v4
126128
127129 - name : Get composer cache directory
128130 run : echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV"
129131
130132 - name : Cache composer dependencies
131- uses : actions/cache@v3
133+ uses : actions/cache@v4
132134 with :
133135 path : $COMPOSER_CACHE
134136 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -154,7 +156,7 @@ jobs:
154156 fail-fast : false
155157 matrix :
156158 operating-system : [ubuntu-latest]
157- php-versions : ['8.0 ', '8.1 ', '8.2 ']
159+ php-versions : ['8.1 ', '8.2 ', '8.3 ']
158160
159161 steps :
160162 - name : Setup PHP, with composer and extensions
@@ -178,13 +180,13 @@ jobs:
178180 git config --global core.autocrlf false
179181 git config --global core.eol lf
180182
181- - uses : actions/checkout@v3
183+ - uses : actions/checkout@v4
182184
183185 - name : Get composer cache directory
184186 run : echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV"
185187
186188 - name : Cache composer dependencies
187- uses : actions/cache@v3
189+ uses : actions/cache@v4
188190 with :
189191 path : $COMPOSER_CACHE
190192 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -194,16 +196,16 @@ jobs:
194196 run : composer install --no-progress --prefer-dist --optimize-autoloader
195197
196198 - name : Run unit tests with coverage
197- if : ${{ matrix.php-versions == '8.2 ' }}
199+ if : ${{ matrix.php-versions == '8.3 ' }}
198200 run : vendor/bin/phpunit
199201
200202 - name : Run unit tests (no coverage)
201- if : ${{ matrix.php-versions != '8.2 ' }}
203+ if : ${{ matrix.php-versions != '8.3 ' }}
202204 run : vendor/bin/phpunit --no-coverage
203205
204206 - name : Save coverage data
205- if : ${{ matrix.php-versions == '8.2 ' }}
206- uses : actions/upload-artifact@v3
207+ if : ${{ matrix.php-versions == '8.3 ' }}
208+ uses : actions/upload-artifact@v4
207209 with :
208210 name : coverage-data
209211 path : ${{ github.workspace }}/build
@@ -216,7 +218,7 @@ jobs:
216218 fail-fast : true
217219 matrix :
218220 operating-system : [windows-latest]
219- php-versions : ['8.0 ', '8.1 ', '8.2 ']
221+ php-versions : ['8.1 ', '8.2 ', '8.3 ']
220222
221223 steps :
222224 - name : Setup PHP, with composer and extensions
@@ -240,13 +242,13 @@ jobs:
240242 git config --global core.autocrlf false
241243 git config --global core.eol lf
242244
243- - uses : actions/checkout@v3
245+ - uses : actions/checkout@v4
244246
245247 - name : Get composer cache directory
246248 run : echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$env:GITHUB_ENV"
247249
248250 - name : Cache composer dependencies
249- uses : actions/cache@v3
251+ uses : actions/cache@v4
250252 with :
251253 path : $COMPOSER_CACHE
252254 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -263,15 +265,15 @@ jobs:
263265 runs-on : [ubuntu-latest]
264266 needs : [unit-tests-linux]
265267 steps :
266- - uses : actions/checkout@v3
268+ - uses : actions/checkout@v4
267269
268- - uses : actions/download-artifact@v3
270+ - uses : actions/download-artifact@v4
269271 with :
270272 name : coverage-data
271273 path : ${{ github.workspace }}/build
272274
273275 - name : Codecov
274- uses : codecov/codecov-action@v3
276+ uses : codecov/codecov-action@v5
275277 with :
276278 token : ${{ secrets.CODECOV_TOKEN }}
277279 fail_ci_if_error : true
@@ -284,9 +286,9 @@ jobs:
284286 if : |
285287 always() &&
286288 needs.coverage.result == 'success' ||
287- (needs.unit-tests-linux == 'success' && needs.coverage == 'skipped')
289+ (needs.unit-tests-linux.result == 'success' && needs.coverage.result == 'skipped')
288290
289291 steps :
290- - uses : geekyeggo/delete-artifact@v2
292+ - uses : geekyeggo/delete-artifact@v5
291293 with :
292294 name : coverage-data
0 commit comments