Skip to content

Commit 81937fe

Browse files
authored
Merge pull request #3044 from tarlepp/chore(ci)/github-actions-update
Chore(CI) - UpdatedGitHub workflow image versions
2 parents e6869a6 + 670f248 commit 81937fe

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
fail-fast: false
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v4.2.2
28+
uses: actions/checkout@v5.0.0
2929
with:
3030
fetch-depth: '0'
3131

3232
- name: Setup PHP, with composer and extensions
33-
uses: shivammathur/setup-php@2.32.0
33+
uses: shivammathur/setup-php@2.35.3
3434
with:
3535
php-version: '8.4'
3636
tools: composer:v2
@@ -40,7 +40,7 @@ jobs:
4040
run: echo "CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
4141

4242
- name: Cache composer dependencies
43-
uses: actions/cache@v4.2.1
43+
uses: actions/cache@v4.2.4
4444
with:
4545
path: ${{ steps.composer-cache.outputs.CACHE_DIR }}
4646
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -70,12 +70,12 @@ jobs:
7070
fail-fast: false
7171
steps:
7272
- name: Checkout
73-
uses: actions/checkout@v4.2.2
73+
uses: actions/checkout@v5.0.0
7474
with:
7575
fetch-depth: '0'
7676

7777
- name: Setup PHP, with composer and extensions
78-
uses: shivammathur/setup-php@2.32.0
78+
uses: shivammathur/setup-php@2.35.3
7979
with:
8080
php-version: '8.4'
8181
tools: composer:v2
@@ -85,7 +85,7 @@ jobs:
8585
run: echo "CACHE_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
8686

8787
- name: Cache composer dependencies
88-
uses: actions/cache@v4.2.1
88+
uses: actions/cache@v4.2.4
8989
with:
9090
path: ${{ steps.composer-cache.outputs.CACHE_DIR }}
9191
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -125,12 +125,12 @@ jobs:
125125
fail-fast: false
126126
steps:
127127
- name: Checkout
128-
uses: actions/checkout@v4.2.2
128+
uses: actions/checkout@v5.0.0
129129
with:
130130
fetch-depth: '0'
131131

132132
- name: Setup PHP, with composer and extensions
133-
uses: shivammathur/setup-php@2.32.0
133+
uses: shivammathur/setup-php@2.35.3
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.1
143+
uses: actions/cache@v4.2.4
144144
with:
145145
path: ${{ steps.composer-cache.outputs.CACHE_DIR }}
146146
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -216,12 +216,12 @@ jobs:
216216
fail-fast: false
217217
steps:
218218
- name: Checkout
219-
uses: actions/checkout@v4.2.2
219+
uses: actions/checkout@v5.0.0
220220
with:
221221
fetch-depth: '0'
222222

223223
- name: Setup PHP, with composer and extensions
224-
uses: shivammathur/setup-php@2.32.0
224+
uses: shivammathur/setup-php@2.35.3
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.1
236+
uses: actions/cache@v4.2.4
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.0.0
291+
uses: SonarSource/sonarqube-scan-action@v5.3.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
@@ -326,7 +326,7 @@ jobs:
326326

327327
steps:
328328
- name: Make checkout
329-
uses: actions/checkout@v4.2.2
329+
uses: actions/checkout@v5.0.0
330330

331331
- name: Lint `./README.md`
332332
uses: avto-dev/markdown-lint@v1.5.0
@@ -359,7 +359,7 @@ jobs:
359359
- test
360360

361361
steps:
362-
- uses: actions/checkout@v4.2.2
362+
- uses: actions/checkout@v5.0.0
363363

364364
- name: Set tag var
365365
id: vars
@@ -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.29.0
372+
uses: aquasecurity/trivy-action@0.32.0
373373
with:
374374
image-ref: 'symfony-flex-backend:${{ steps.vars.outputs.DOCKER_TAG }}'
375375
format: 'table'

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: "Checkout code"
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5.0.0
3939
with:
4040
persist-credentials: false
4141

.github/workflows/vulnerability-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5.0.0
1919

2020
- name: Build the Docker image
2121
run: docker build . --file Dockerfile --tag symfony-flex-backend:master

0 commit comments

Comments
 (0)