Skip to content

Commit 3daf9a3

Browse files
committed
fix: update deprecated GitHub Actions to current versions
Update artifact and CodeQL actions to prevent workflow failures: - actions/upload-artifact@v3 → v4 (5 instances) - actions/download-artifact@v3 → v4 (1 instance) - codecov/codecov-action@v3 → v5 (1 instance) - github/codeql-action/*@V3 → v4 (2 instances) These v3 artifact actions are deprecated and will stop working on January 30, 2025. The v4 versions provide up to 10x faster operations with better compression and deduplication.
1 parent 7a598b3 commit 3daf9a3

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v5
2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v3
27+
uses: github/codeql-action/init@v4
2828
with:
2929
languages: python
3030
- name: Perform CodeQL Analysis
31-
uses: github/codeql-action/analyze@v3
31+
uses: github/codeql-action/analyze@v4

.github/workflows/e2e-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: 📊 Upload test results
8484
if: always()
85-
uses: actions/upload-artifact@v3
85+
uses: actions/upload-artifact@v4
8686
with:
8787
name: playwright-report-${{ matrix.browser }}
8888
path: |
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: 📸 Upload screenshots
9494
if: failure()
95-
uses: actions/upload-artifact@v3
95+
uses: actions/upload-artifact@v4
9696
with:
9797
name: screenshots-${{ matrix.browser }}
9898
path: test-results/screenshots/
@@ -146,7 +146,7 @@ jobs:
146146

147147
- name: 📊 Upload mobile test results
148148
if: always()
149-
uses: actions/upload-artifact@v3
149+
uses: actions/upload-artifact@v4
150150
with:
151151
name: playwright-report-mobile
152152
path: |
@@ -203,7 +203,7 @@ jobs:
203203

204204
- name: 🖼️ Upload visual diffs
205205
if: failure()
206-
uses: actions/upload-artifact@v3
206+
uses: actions/upload-artifact@v4
207207
with:
208208
name: visual-diffs
209209
path: test-results/visual-diffs/
@@ -225,7 +225,7 @@ jobs:
225225
node-version: '20'
226226

227227
- name: 📥 Download all artifacts
228-
uses: actions/download-artifact@v3
228+
uses: actions/download-artifact@v4
229229
with:
230230
path: all-reports
231231

.github/workflows/frontend-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
5757
- name: 📤 Upload coverage to Codecov
5858
if: matrix.node-version == '20'
59-
uses: codecov/codecov-action@v3
59+
uses: codecov/codecov-action@v5
6060
with:
6161
files: ./coverage/lcov.info
6262
flags: frontend
@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: 📋 Upload test results
6767
if: always()
68-
uses: actions/upload-artifact@v3
68+
uses: actions/upload-artifact@v4
6969
with:
7070
name: test-results-node-${{ matrix.node-version }}
7171
path: |
@@ -194,7 +194,7 @@ jobs:
194194
continue-on-error: true
195195

196196
- name: 📤 Upload built site
197-
uses: actions/upload-artifact@v3
197+
uses: actions/upload-artifact@v4
198198
with:
199199
name: built-site
200200
path: _site/

0 commit comments

Comments
 (0)