Skip to content

Commit a8acdbf

Browse files
fix(ci): update GitHub │
│ Actions to latest versions │ │ │ │ - Update actions/upload-artifact from v3 to v4 │ │ - Update actions/cache from v3 to v4 │ │ - Update codecov/codecov-action from v3 to v4 │ │ - Fix deprecated action warnings in CI/CD pipeline
1 parent d60d818 commit a8acdbf

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Cache Composer packages
3434
id: composer-cache
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
3737
path: vendor
3838
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -82,7 +82,7 @@ jobs:
8282
run: php scripts/validate_project.php || { echo 'Custom validation failed'; exit 1; }
8383

8484
- name: Upload coverage to Codecov
85-
uses: codecov/codecov-action@v3
85+
uses: codecov/codecov-action@v4
8686
if: matrix.php-version == '8.1'
8787
with:
8888
file: ./coverage.xml

.github/workflows/pre-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
extensions: mbstring, xml, ctype, iconv, intl, pdo, dom, filter, gd, json, session
2323

2424
- name: Cache Composer packages
25-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2626
with:
2727
path: vendor
2828
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -60,7 +60,7 @@ jobs:
6060
continue-on-error: true
6161

6262
- name: Upload coverage to Codecov
63-
uses: codecov/codecov-action@v3
63+
uses: codecov/codecov-action@v4
6464
with:
6565
file: ./coverage.xml
6666
flags: pre-release

.github/workflows/quality-gate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: composer validate --strict
3131

3232
- name: Cache Composer dependencies
33-
uses: actions/cache@v3
33+
uses: actions/cache@v4
3434
with:
3535
path: ~/.composer/cache/files
3636
key: composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.json') }}
@@ -134,7 +134,7 @@ jobs:
134134
135135
# Upload de Cobertura
136136
- name: Upload Coverage to Codecov
137-
uses: codecov/codecov-action@v3
137+
uses: codecov/codecov-action@v4
138138
with:
139139
file: ./coverage.xml
140140
flags: unittests
@@ -143,7 +143,7 @@ jobs:
143143

144144
# Salvar Artefatos
145145
- name: Save Quality Reports
146-
uses: actions/upload-artifact@v3
146+
uses: actions/upload-artifact@v4
147147
if: always()
148148
with:
149149
name: quality-reports-php${{ matrix.php-version }}
@@ -345,7 +345,7 @@ jobs:
345345
echo "Quality Gate: PASSED" > quality-status.txt
346346
347347
- name: Save Final Report
348-
uses: actions/upload-artifact@v3
348+
uses: actions/upload-artifact@v4
349349
with:
350350
name: quality-gate-final-report
351351
path: quality-status.txt

0 commit comments

Comments
 (0)