3030 fetch-depth : ' 0'
3131
3232 - name : Setup PHP, with composer and extensions
33- uses :
shivammathur/[email protected] .3 33+ uses :
shivammathur/[email protected] .5 3434 with :
3535 php-version : ' 8.4'
3636 tools : composer:v2
4040 run : echo "CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4141
4242 - name : Cache composer dependencies
43- uses : actions/cache@v4.2.4
43+ uses : actions/cache@v4.3.0
4444 with :
4545 path : ${{ steps.composer-cache.outputs.CACHE_DIR }}
4646 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
7575 fetch-depth : ' 0'
7676
7777 - name : Setup PHP, with composer and extensions
78- uses :
shivammathur/[email protected] .3 78+ uses :
shivammathur/[email protected] .5 7979 with :
8080 php-version : ' 8.4'
8181 tools : composer:v2
8585 run : echo "CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
8686
8787 - name : Cache composer dependencies
88- uses : actions/cache@v4.2.4
88+ uses : actions/cache@v4.3.0
8989 with :
9090 path : ${{ steps.composer-cache.outputs.CACHE_DIR }}
9191 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -130,7 +130,7 @@ jobs:
130130 fetch-depth : ' 0'
131131
132132 - name : Setup PHP, with composer and extensions
133- uses :
shivammathur/[email protected] .3 133+ uses :
shivammathur/[email protected] .5 134134 with :
135135 php-version : ' 8.4'
136136 tools : composer:v2
@@ -140,7 +140,7 @@ jobs:
140140 run : echo "CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
141141
142142 - name : Cache composer dependencies
143- uses : actions/cache@v4.2.4
143+ uses : actions/cache@v4.3.0
144144 with :
145145 path : ${{ steps.composer-cache.outputs.CACHE_DIR }}
146146 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -185,13 +185,13 @@ jobs:
185185 run : make phpinsights
186186
187187 - name : Archive Psalm results (psalm.json)
188- uses : actions/upload-artifact@v4.6.1
188+ uses : actions/upload-artifact@v5
189189 with :
190190 name : psalm.json
191191 path : ./build/psalm.json
192192
193193 - name : Archive `phploc` results (phploc.json)
194- uses : actions/upload-artifact@v4.6.1
194+ uses : actions/upload-artifact@v5
195195 with :
196196 name : phploc.json
197197 path : ./build/phploc.json
@@ -221,7 +221,7 @@ jobs:
221221 fetch-depth : ' 0'
222222
223223 - name : Setup PHP, with composer and extensions
224- uses :
shivammathur/[email protected] .3 224+ uses :
shivammathur/[email protected] .5 225225 with :
226226 php-version : ' 8.4'
227227 extensions : pdo_mysql, mysql
@@ -233,7 +233,7 @@ jobs:
233233 run : echo "CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
234234
235235 - name : Cache composer dependencies
236- uses : actions/cache@v4.2.4
236+ uses : actions/cache@v4.3.0
237237 with :
238238 path : ${{ steps.composer-cache.outputs.CACHE_DIR }}
239239 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -288,7 +288,7 @@ jobs:
288288 COVERALLS_RUN_LOCALLY : 1
289289
290290 - name : SonarQube Scan (https://sonarcloud.io/dashboard?id=github.com.tarlepp.symfony-flex-backend)
291- uses : SonarSource/sonarqube-scan-action@v5.3 .0
291+ uses : SonarSource/sonarqube-scan-action@v6.0 .0
292292 env :
293293 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
294294 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }} # https://github.com/SonarSource/sonarqube-scan-action?tab=readme-ov-file#environment-variables
@@ -297,25 +297,25 @@ jobs:
297297 run : make phpmetrics
298298
299299 - name : Archive code coverage results (clover.xml)
300- uses : actions/upload-artifact@v4.6.1
300+ uses : actions/upload-artifact@v5
301301 with :
302302 name : clover.xml
303303 path : ./build/logs/clover.xml
304304
305305 - name : Archive code coverage results (junit.xml)
306- uses : actions/upload-artifact@v4.6.1
306+ uses : actions/upload-artifact@v5
307307 with :
308308 name : junit.xml
309309 path : ./build/logs/junit.xml
310310
311311 - name : Archive Code Coverage
312- uses : actions/upload-artifact@v4.6.1
312+ uses : actions/upload-artifact@v5
313313 with :
314314 name : CodeCoverage
315315 path : ./build/report
316316
317317 - name : Archive PhpMetrics results
318- uses : actions/upload-artifact@v4.6.1
318+ uses : actions/upload-artifact@v5
319319 with :
320320 name : PhpMetrics
321321 path : ./build/phpmetrics
@@ -369,7 +369,7 @@ jobs:
369369 run : docker build . --file Dockerfile --tag symfony-flex-backend:${{ steps.vars.outputs.DOCKER_TAG }}
370370
371371 - name : Scan Docker image with Trivy vulnerability scanner
372- uses : aquasecurity/trivy-action@0.32.0
372+ uses : aquasecurity/trivy-action@0.33.1
373373 with :
374374 image-ref : ' symfony-flex-backend:${{ steps.vars.outputs.DOCKER_TAG }}'
375375 format : ' table'
0 commit comments