Commit 0dac595
committed
fix: Update deprecated GitHub Actions to latest versions
Updated all GitHub Actions to resolve deprecation warnings and failures:
**Actions Updated:**
- actions/checkout: v3 → v4 (5 instances)
- actions/setup-python: v4 → v5 (5 instances)
- actions/upload-artifact: v3 → v4 (1 instance)
**Root Cause:**
GitHub deprecated v3 of artifact actions on April 16, 2024. Workflows
using the old versions now fail with:
"This request has been automatically failed because it uses a
deprecated version of actions/upload-artifact: v3"
**Changes:**
- ci.yml: Updated checkout and setup-python actions
- harmony-check.yml: Updated all actions across 4 jobs:
* Job 1: harmony-check
* Job 2: harmony-json-report (includes upload-artifact fix)
* Job 3: harmony-strict-check
* Job 4: harmony-exit-codes-demo
**Benefits:**
- ✅ Resolves workflow failures from deprecated actions
- ✅ Uses latest stable action versions with improvements
- ✅ Future-proofs CI/CD pipeline
- ✅ Maintains backward compatibility with Python 3.8-3.12
**Testing:**
- ✅ YAML syntax validates successfully
- ✅ All action versions verified as latest stable
Reference: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/1 parent d5e636c commit 0dac595
2 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments