Skip to content

Commit 18d12f9

Browse files
committedSep 14, 2024··
ci: Fix the CI
1 parent 323b5a3 commit 18d12f9

File tree

1 file changed

+61
-57
lines changed

1 file changed

+61
-57
lines changed
 

‎.github/workflows/ci.yml

+61-57
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,20 @@
1616
"BRANCH_STAGING": "u/staging",
1717
},
1818
"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-
},
4019
"check": {
4120
"name": "Check code quality",
4221
"container": "fedora:40",
4322
"runs-on": "ubuntu-latest",
44-
"needs": [
45-
"checkout",
46-
],
4723
"steps": [
4824
{
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",
5131
"with": {
52-
"name": "workspace",
32+
"fetch-depth": 0,
5333
},
5434
},
5535
{
@@ -83,10 +63,10 @@
8363
],
8464
"steps": [
8565
{
86-
"name": "Restore workspace",
87-
"uses": "actions/download-artifact@v4",
66+
"name": "Checkout code",
67+
"uses": "actions/checkout@v4",
8868
"with": {
89-
"name": "workspace",
69+
"fetch-depth": 0,
9070
},
9171
},
9272
{
@@ -128,10 +108,10 @@
128108
],
129109
"steps": [
130110
{
131-
"name": "Restore workspace",
132-
"uses": "actions/download-artifact@v4",
111+
"name": "Checkout code",
112+
"uses": "actions/checkout@v4",
133113
"with": {
134-
"name": "workspace",
114+
"fetch-depth": 0,
135115
},
136116
},
137117
{
@@ -173,10 +153,14 @@
173153
],
174154
"steps": [
175155
{
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",
178162
"with": {
179-
"name": "workspace",
163+
"fetch-depth": 0,
180164
},
181165
},
182166
{
@@ -218,10 +202,14 @@
218202
],
219203
"steps": [
220204
{
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",
223211
"with": {
224-
"name": "workspace",
212+
"fetch-depth": 0,
225213
},
226214
},
227215
{
@@ -263,10 +251,14 @@
263251
],
264252
"steps": [
265253
{
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",
268260
"with": {
269-
"name": "workspace",
261+
"fetch-depth": 0,
270262
},
271263
},
272264
{
@@ -373,10 +365,10 @@
373365
],
374366
"steps": [
375367
{
376-
"name": "Restore workspace",
377-
"uses": "actions/download-artifact@v4",
368+
"name": "Checkout code",
369+
"uses": "actions/checkout@v4",
378370
"with": {
379-
"name": "workspace",
371+
"fetch-depth": 0,
380372
},
381373
},
382374
{
@@ -406,10 +398,10 @@
406398
],
407399
"steps": [
408400
{
409-
"name": "Restore workspace",
410-
"uses": "actions/download-artifact@v4",
401+
"name": "Checkout code",
402+
"uses": "actions/checkout@v4",
411403
"with": {
412-
"name": "workspace",
404+
"fetch-depth": 0,
413405
},
414406
},
415407
{
@@ -439,10 +431,14 @@
439431
],
440432
"steps": [
441433
{
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",
444440
"with": {
445-
"name": "workspace",
441+
"fetch-depth": 0,
446442
},
447443
},
448444
{
@@ -472,10 +468,14 @@
472468
],
473469
"steps": [
474470
{
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",
477477
"with": {
478-
"name": "workspace",
478+
"fetch-depth": 0,
479479
},
480480
},
481481
{
@@ -505,10 +505,14 @@
505505
],
506506
"steps": [
507507
{
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",
510514
"with": {
511-
"name": "workspace",
515+
"fetch-depth": 0,
512516
},
513517
},
514518
{

0 commit comments

Comments
 (0)
Please sign in to comment.