|
16 | 16 | "BRANCH_STAGING": "u/staging",
|
17 | 17 | },
|
18 | 18 | "jobs": {
|
19 |
| - "checkout": { |
20 |
| - "name": "Prepare workspace", |
21 |
| - "runs-on": "ubuntu-latest", |
22 |
| - "steps": [ |
23 |
| - { |
24 |
| - "name": "Checkout code", |
25 |
| - "uses": "actions/checkout@v4", |
26 |
| - "with": { |
27 |
| - "fetch-depth": 0, |
28 |
| - }, |
29 |
| - }, |
30 |
| - { |
31 |
| - "name": "Archive workspace", |
32 |
| - "uses": "actions/upload-artifact@v4", |
33 |
| - "with": { |
34 |
| - "name": "workspace", |
35 |
| - "path": ".", |
36 |
| - }, |
37 |
| - }, |
38 |
| - ], |
39 |
| - }, |
40 | 19 | "check": {
|
41 | 20 | "name": "Check code quality",
|
42 | 21 | "container": "fedora:40",
|
43 | 22 | "runs-on": "ubuntu-latest",
|
44 |
| - "needs": [ |
45 |
| - "checkout", |
46 |
| - ], |
47 | 23 | "steps": [
|
48 | 24 | {
|
49 |
| - "name": "Restore workspace", |
50 |
| - "uses": "actions/download-artifact@v4", |
| 25 | + "name": "Install git", |
| 26 | + "run": "dnf install -y git", |
| 27 | + }, |
| 28 | + { |
| 29 | + "name": "Checkout code", |
| 30 | + "uses": "actions/checkout@v4", |
51 | 31 | "with": {
|
52 |
| - "name": "workspace", |
| 32 | + "fetch-depth": 0, |
53 | 33 | },
|
54 | 34 | },
|
55 | 35 | {
|
|
83 | 63 | ],
|
84 | 64 | "steps": [
|
85 | 65 | {
|
86 |
| - "name": "Restore workspace", |
87 |
| - "uses": "actions/download-artifact@v4", |
| 66 | + "name": "Checkout code", |
| 67 | + "uses": "actions/checkout@v4", |
88 | 68 | "with": {
|
89 |
| - "name": "workspace", |
| 69 | + "fetch-depth": 0, |
90 | 70 | },
|
91 | 71 | },
|
92 | 72 | {
|
|
128 | 108 | ],
|
129 | 109 | "steps": [
|
130 | 110 | {
|
131 |
| - "name": "Restore workspace", |
132 |
| - "uses": "actions/download-artifact@v4", |
| 111 | + "name": "Checkout code", |
| 112 | + "uses": "actions/checkout@v4", |
133 | 113 | "with": {
|
134 |
| - "name": "workspace", |
| 114 | + "fetch-depth": 0, |
135 | 115 | },
|
136 | 116 | },
|
137 | 117 | {
|
|
173 | 153 | ],
|
174 | 154 | "steps": [
|
175 | 155 | {
|
176 |
| - "name": "Restore workspace", |
177 |
| - "uses": "actions/download-artifact@v4", |
| 156 | + "name": "Install git", |
| 157 | + "run": "dnf install -y git", |
| 158 | + }, |
| 159 | + { |
| 160 | + "name": "Checkout code", |
| 161 | + "uses": "actions/checkout@v4", |
178 | 162 | "with": {
|
179 |
| - "name": "workspace", |
| 163 | + "fetch-depth": 0, |
180 | 164 | },
|
181 | 165 | },
|
182 | 166 | {
|
|
218 | 202 | ],
|
219 | 203 | "steps": [
|
220 | 204 | {
|
221 |
| - "name": "Restore workspace", |
222 |
| - "uses": "actions/download-artifact@v4", |
| 205 | + "name": "Install git", |
| 206 | + "run": "dnf install -y git", |
| 207 | + }, |
| 208 | + { |
| 209 | + "name": "Checkout code", |
| 210 | + "uses": "actions/checkout@v4", |
223 | 211 | "with": {
|
224 |
| - "name": "workspace", |
| 212 | + "fetch-depth": 0, |
225 | 213 | },
|
226 | 214 | },
|
227 | 215 | {
|
|
263 | 251 | ],
|
264 | 252 | "steps": [
|
265 | 253 | {
|
266 |
| - "name": "Restore workspace", |
267 |
| - "uses": "actions/download-artifact@v4", |
| 254 | + "name": "Install git", |
| 255 | + "run": "dnf install -y git", |
| 256 | + }, |
| 257 | + { |
| 258 | + "name": "Checkout code", |
| 259 | + "uses": "actions/checkout@v4", |
268 | 260 | "with": {
|
269 |
| - "name": "workspace", |
| 261 | + "fetch-depth": 0, |
270 | 262 | },
|
271 | 263 | },
|
272 | 264 | {
|
|
373 | 365 | ],
|
374 | 366 | "steps": [
|
375 | 367 | {
|
376 |
| - "name": "Restore workspace", |
377 |
| - "uses": "actions/download-artifact@v4", |
| 368 | + "name": "Checkout code", |
| 369 | + "uses": "actions/checkout@v4", |
378 | 370 | "with": {
|
379 |
| - "name": "workspace", |
| 371 | + "fetch-depth": 0, |
380 | 372 | },
|
381 | 373 | },
|
382 | 374 | {
|
|
406 | 398 | ],
|
407 | 399 | "steps": [
|
408 | 400 | {
|
409 |
| - "name": "Restore workspace", |
410 |
| - "uses": "actions/download-artifact@v4", |
| 401 | + "name": "Checkout code", |
| 402 | + "uses": "actions/checkout@v4", |
411 | 403 | "with": {
|
412 |
| - "name": "workspace", |
| 404 | + "fetch-depth": 0, |
413 | 405 | },
|
414 | 406 | },
|
415 | 407 | {
|
|
439 | 431 | ],
|
440 | 432 | "steps": [
|
441 | 433 | {
|
442 |
| - "name": "Restore workspace", |
443 |
| - "uses": "actions/download-artifact@v4", |
| 434 | + "name": "Install git", |
| 435 | + "run": "dnf install -y git", |
| 436 | + }, |
| 437 | + { |
| 438 | + "name": "Checkout code", |
| 439 | + "uses": "actions/checkout@v4", |
444 | 440 | "with": {
|
445 |
| - "name": "workspace", |
| 441 | + "fetch-depth": 0, |
446 | 442 | },
|
447 | 443 | },
|
448 | 444 | {
|
|
472 | 468 | ],
|
473 | 469 | "steps": [
|
474 | 470 | {
|
475 |
| - "name": "Restore workspace", |
476 |
| - "uses": "actions/download-artifact@v4", |
| 471 | + "name": "Install git", |
| 472 | + "run": "dnf install -y git", |
| 473 | + }, |
| 474 | + { |
| 475 | + "name": "Checkout code", |
| 476 | + "uses": "actions/checkout@v4", |
477 | 477 | "with": {
|
478 |
| - "name": "workspace", |
| 478 | + "fetch-depth": 0, |
479 | 479 | },
|
480 | 480 | },
|
481 | 481 | {
|
|
505 | 505 | ],
|
506 | 506 | "steps": [
|
507 | 507 | {
|
508 |
| - "name": "Restore workspace", |
509 |
| - "uses": "actions/download-artifact@v4", |
| 508 | + "name": "Install git", |
| 509 | + "run": "dnf install -y git", |
| 510 | + }, |
| 511 | + { |
| 512 | + "name": "Checkout code", |
| 513 | + "uses": "actions/checkout@v4", |
510 | 514 | "with": {
|
511 |
| - "name": "workspace", |
| 515 | + "fetch-depth": 0, |
512 | 516 | },
|
513 | 517 | },
|
514 | 518 | {
|
|
0 commit comments