Repository navigation
672 lines (593 loc) · 22.3 KB
/
Copy pathci.yml
File metadata and controls
672 lines (593 loc) · 22.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
name: CI
on:
push:
branches: ["main"]
pull_request:
permissions:
contents: read
# A newer push to the same pull request supersedes the older run. Pushes to
# main never share a group, so each main commit keeps a complete run.
concurrency:
group: ci-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
workflow-lint:
name: Workflow lint
needs: paths
if: needs.paths.outputs.workflows == 'true'
uses: wrightkit/.github/.github/workflows/actionlint.yml@main
paths:
name: Detect paths
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
rust_core: ${{ steps.filter.outputs.rust_core }}
dist: ${{ steps.filter.outputs.dist }}
agent_guide: ${{ steps.filter.outputs.agent_guide }}
workflows: ${{ steps.filter.outputs.workflows }}
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Check CI job coupling
run: |
python3 -m pip install PyYAML==6.0.3
python3 scripts/ci-jobs.py check
python3 scripts/test-ci-jobs.py
- name: Filter paths
id: filter
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
with:
filters: |
workflows:
- '.github/workflows/**'
rust_core:
- 'Cargo.toml'
- 'Cargo.lock'
- 'rust-toolchain'
- 'rust-toolchain.toml'
- '.cargo/**'
- 'src/**'
- 'crates/**'
- 'tests/fixtures/**'
- 'scripts/**'
- 'benchmarks/**'
- 'agent-guide/**'
- 'schemas/**'
- '.github/workflows/**'
agent_guide:
- 'agent-guide/**'
- 'crates/wright-cli/src/agent.rs'
- 'scripts/sync-agent-guide.py'
- '.github/workflows/**'
dist:
- 'dist/**'
- 'install.sh'
- 'install.ps1'
- 'Cargo.toml'
- 'Cargo.lock'
- 'rust-toolchain'
- 'rust-toolchain.toml'
- '.cargo/**'
- 'src/**'
- 'crates/**'
- 'tests/fixtures/**'
- 'scripts/**'
- '.github/workflows/**'
agent-guide:
name: Agent guide sync
needs: paths
if: needs.paths.outputs.agent_guide == 'true'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Checkout skills
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: wrightkit/skills
fetch-depth: 0
path: skills-src
- name: Verify the vendored guide matches its pin
run: python3 scripts/sync-agent-guide.py --skills-dir skills-src --check
rust-quality:
name: Rust (stable)
needs: paths
if: needs.paths.outputs.rust_core == 'true'
uses: wrightkit/.github/.github/workflows/rust-quality.yml@main
with:
toolchain: 1.97.1
cache-shared-key: linux-quality-stable-dev-test
all-features: true
wright-cli-build:
name: Build CLI
needs: [paths]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Rust
uses: wrightkit/.github/.github/actions/setup-rust@main
with:
toolchain: 1.97.1
cache-shared-key: linux-quality-stable-dev-test
- name: Build CLI
run: cargo build --locked -p wright-cli -p wright-bench
- name: Upload CLI artifact
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: wright-cli-linux-stable-debug
path: |
target/debug/wright
target/debug/wright-bench
if-no-files-found: error
- name: Record CLI provenance
shell: bash
run: |
cli_digest="$(sha256sum target/debug/wright | cut -d ' ' -f1)"
bench_digest="$(sha256sum target/debug/wright-bench | cut -d ' ' -f1)"
{
printf '%s\n\n' '## Wright CLI artifact'
printf -- "- Revision: \`%s\`\n" "$GITHUB_SHA"
printf '%s\n' '- Build identity: stable / debug / ubuntu-latest'
printf -- "- wright SHA-256: \`%s\`\n" "$cli_digest"
printf -- "- wright-bench SHA-256: \`%s\`\n" "$bench_digest"
} >> "$GITHUB_STEP_SUMMARY"
workshop-integration:
name: Workshop dogfood
needs: [paths, wright-cli-build]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Wright
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Checkout workshop-rs
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: wrightkit/workshop-rs
ref: f1f3c58f790e9aede9300ca6421698f2503f5f62 # v0.3.11
path: workshop-rs-pinned
sparse-checkout: crates/workshop-rs/tests/fixtures/real-projects
- name: Download CLI artifact
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: wright-cli-linux-stable-debug
path: target/debug
- name: Prepare CLI executable
run: chmod +x target/debug/wright
- name: Run public CLI dogfood
run: |
set -euo pipefail
run_workflow() {
local command="$1"
local output
local status
set +e
output="$(target/debug/wright "$command" --kind workshop "$PROJECT" --format json)"
status=$?
set -e
if [[ "$status" -ne "$EXPECTED_EXIT" ]]; then
echo "wright $command returned $status; expected $EXPECTED_EXIT for $PROJECT" >&2
return 1
fi
jq -e \
--arg command "$command" \
--argjson process_exit "$status" \
'(
.wright.contract == "wright-result/v1" and
.command == $command and
.exit == $process_exit and
.ok == ($process_exit == 0) and
(.diagnostics | type == "array") and
(all(.diagnostics[]; type == "object")) and
([.diagnostics[] | select(.stage == "internal")] | length == 0)
)' <<<"$output" >/dev/null || return 1
printf '%s' "$output"
}
dogfood() {
local project="$1"
EXPECTED_EXIT="$2"
PROJECT="workshop-rs-pinned/crates/workshop-rs/tests/fixtures/real-projects/${project}.ow"
echo "::group::${project}"
local check_output lint_output inspect_output
check_output="$(run_workflow check)" || return 1
lint_output="$(run_workflow lint)" || return 1
inspect_output="$(run_workflow inspect)" || return 1
jq -e -n \
--argjson check "$check_output" \
--argjson lint "$lint_output" \
--argjson inspect "$inspect_output" \
--argjson expected_exit "$EXPECTED_EXIT" \
'(
$check.ok == $lint.ok and
$check.exit == $lint.exit and
(if $expected_exit == 0
then ($inspect.result.program.rules | numbers | . > 0)
else ($lint.diagnostics | length > 0)
end)
)' >/dev/null || return 1
echo "::endgroup::"
}
failed=0
for entry in ai-pve:0 bastion:0 defend:1 illari:0 rework:0; do
dogfood "${entry%%:*}" "${entry##*:}" || { echo "::error::dogfood failed for ${entry%%:*}"; failed=1; }
done
exit "$failed"
opy-integration:
name: Product integration
needs: [paths, wright-cli-build]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Rust
uses: wrightkit/.github/.github/actions/setup-rust@main
with:
toolchain: 1.97.1
cache-shared-key: linux-quality-stable-dev-test
- name: Download CLI artifact
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: wright-cli-linux-stable-debug
path: target/debug
- name: Prepare CLI executable
run: chmod +x target/debug/wright
- name: Install OPY provider
run: target/debug/wright update provider opy
- name: Compile OPY via provider
run: >-
target/debug/wright compile tests/fixtures/opy/basic-rule.opy
-o "$RUNNER_TEMP/basic-rule.ow"
- name: Run provider-backed CLI tests
run: cargo test --locked -p wright-cli --test opy_locale_hook
lpp-integration:
name: LPP integration
needs: [paths]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout Wright
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Rust
uses: wrightkit/.github/.github/actions/setup-rust@main
with:
toolchain: 1.97.1
cache-shared-key: linux-quality-stable-dev-test
# The mock provider is built from the pinned language-provider-protocol
# commit the integration tests were validated against (merged LPP v1,
# PR wrightkit/language-provider-protocol#2 plus docs-only follow-ups).
- name: Checkout LPP
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: wrightkit/language-provider-protocol
ref: 416b293e26e6fb2d29061608a493a7aecd2ce14f
path: language-provider-protocol
- name: Build mock provider
run: cargo build --locked -p lpp-mock-provider
working-directory: language-provider-protocol
- name: Run LPP tests
env:
LPP_MOCK_PROVIDER: ${{ github.workspace }}/language-provider-protocol/target/debug/lpp-mock-provider
run: |
set -euo pipefail
mkdir -p target
cargo test --locked -p wright-lpp -p wright-driver \
--test mock_provider --test lpp --test provider_edit -- --ignored | tee target/lpp-tests.log
awk '/^test result: ok\./ { passed += $4 } END { print "Mock-provider tests passed:", passed; exit !(passed > 0) }' target/lpp-tests.log
cli-behavior:
name: CLI behavior
needs: [paths, wright-cli-build]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Download CLI artifact
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: wright-cli-linux-stable-debug
path: target/debug
- name: Prepare CLI executable
run: chmod +x target/debug/wright
- name: Test GitHub Actions renderer
run: scripts/test-cli-github-actions.sh target/debug/wright
benchmark:
name: Benchmarks
continue-on-error: true
needs: [paths, wright-cli-build]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Download CLI artifact
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: wright-cli-linux-stable-debug
path: target/debug
- name: Prepare benchmark executable
run: chmod +x target/debug/wright-bench
- name: Run benchmarks
id: bench
run: target/debug/wright-bench
- name: Upload benchmark report
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: benchmark-report
path: target/wright-bench-report.json
metrics-shard:
name: Metrics shard (${{ matrix.shard }})
needs: [paths, wright-cli-build]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- shard: workshop
projects: small-workshop seed-modify-target-score seed-repair-runaway-loop seed-understand-score-flow
- shard: opy
projects: seed-modify-opy-project seed-repair-opy-runaway-loop seed-understand-opy-project
- shard: real
projects: bastion overwatch-ai-pve
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Download CLI artifact
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: wright-cli-linux-stable-debug
path: target/debug
- name: Prepare CLI executable
run: chmod +x target/debug/wright
- name: Measure projects
env:
PROJECTS: ${{ matrix.projects }}
run: |
set -euo pipefail
target/debug/wright update provider opy
mkdir -p "$RUNNER_TEMP/metrics-shards"
for project in $PROJECTS; do
python3 benchmarks/metrics/metrics.py run --project "$project" \
--repeats 1 --cli-repeats 1 --jobs 4 --wright target/debug/wright \
--out "$RUNNER_TEMP/metrics-shards/$project.json"
done
- name: Upload shard runs
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: metrics-shard-${{ matrix.shard }}
path: ${{ runner.temp }}/metrics-shards/*.json
if-no-files-found: error
metrics-drift:
name: Metrics drift
needs: [paths, metrics-shard]
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Download shard runs
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: metrics-shard-*
merge-multiple: true
path: metrics-shards
- name: Check agent-facing metrics drift
run: |
python3 -m unittest discover -s benchmarks/metrics
shards=()
for run in metrics-shards/*.json; do shards+=(--from "$run"); done
python3 benchmarks/metrics/metrics.py check --skip-latency "${shards[@]}"
metrics-latency:
name: Metrics latency (trend)
needs: [paths, wright-cli-build]
if: github.event_name == 'push' && needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 30
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Download CLI artifact
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: wright-cli-linux-stable-debug
path: target/debug
- name: Prepare CLI executable
run: chmod +x target/debug/wright
- name: Measure latency against the baseline
run: |
target/debug/wright update provider opy
python3 benchmarks/metrics/metrics.py check --wright target/debug/wright --out target/metrics-latency.json
- name: Upload latency record
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: metrics-latency
path: target/metrics-latency.json
if-no-files-found: ignore
dist-cli-build:
name: Build dist (${{ matrix.os }})
needs: [paths]
if: needs.paths.outputs.dist == 'true'
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-15
- windows-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Rust
uses: wrightkit/.github/.github/actions/setup-rust@main
with:
toolchain: 1.97.1
cache-shared-key: dist-build-${{ runner.os }}-stable-dev
cache-save: ${{ github.ref == 'refs/heads/main' }}
- name: Build CLI and LSP
shell: bash
run: cargo build --locked -p wright-cli -p wright-lsp
- name: Upload distribution binaries
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: wright-dist-cli-${{ matrix.os }}
path: |
target/debug/wright
target/debug/wright.exe
target/debug/wright-lsp
target/debug/wright-lsp.exe
if-no-files-found: error
dist-validation:
name: Dist validation (${{ matrix.channel }}, ${{ matrix.os }})
needs: [paths, dist-cli-build]
if: needs.paths.outputs.dist == 'true'
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
channel: install.sh
- os: macos-15
channel: install.sh
- os: macos-15
channel: Homebrew
- os: windows-latest
channel: install.ps1
- os: windows-latest
channel: Scoop
- os: windows-latest
channel: WinGet
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"
- name: Install Scoop
if: matrix.channel == 'Scoop'
shell: pwsh
run: ./scripts/setup-scoop.ps1
- name: Enable WinGet local manifests
if: matrix.channel == 'WinGet'
shell: pwsh
run: winget settings --enable LocalManifestFiles
- name: Download distribution binaries
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: wright-dist-cli-${{ matrix.os }}
path: target/debug
- name: Prepare distribution executables
if: runner.os != 'Windows'
run: chmod +x target/debug/wright target/debug/wright-lsp
- name: Validate package metadata and installers
if: matrix.channel == 'install.sh' || matrix.channel == 'install.ps1'
run: python scripts/verify-dist.py
- name: Test install.sh (functional)
if: matrix.channel == 'install.sh'
run: scripts/test-install.sh
- name: Test install.sh (native smoke)
if: matrix.channel == 'install.sh'
run: python scripts/test-distribution-install-sh.py
- name: Test install.ps1 (channel)
if: matrix.channel == 'install.ps1'
shell: pwsh
run: ./scripts/test-install.ps1
- name: Test install.ps1 (R2 smoke)
if: matrix.channel == 'install.ps1'
shell: pwsh
run: ./scripts/test-install-r2.ps1
- name: Test Homebrew channel
if: matrix.channel == 'Homebrew'
run: python scripts/test-distribution-homebrew.py
- name: Test Scoop channel
if: matrix.channel == 'Scoop'
run: python scripts/test-distribution-scoop.py
- name: Test WinGet channel
if: matrix.channel == 'WinGet'
run: python scripts/test-distribution-winget.py
wasm-core:
name: Wasm core
needs: paths
if: needs.paths.outputs.rust_core == 'true'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Rust
uses: wrightkit/.github/.github/actions/setup-rust@main
with:
toolchain: 1.97.1
targets: wasm32-unknown-unknown
cache-shared-key: wasm-release
cache-save: ${{ github.ref == 'refs/heads/main' }}
- name: Set up Node
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: npm
cache-dependency-path: scripts/package-lock.json
- name: Check generated core types are fresh
run: |
npm ci --prefix scripts
npm --prefix scripts run typecheck
node scripts/generate-core-types.ts --check
- name: Build the wasm core and the native parity driver
run: |
cargo build --locked --release --target wasm32-unknown-unknown -p wright-wasm --lib
cargo build --locked --release -p wright-wasm --bin wright-core-parity
# Native/wasm response-body parity over the ten agent operations,
# the ADR-0037 apply round-trip + stale refusal, the capability
# refusals, and the 2048 KiB gzipped size budget.
- name: Run wasm core parity and budget checks
run: node crates/wright-wasm/js/wright-core.test.mjs
ci-result:
name: CI result
if: always()
needs:
- paths
- workflow-lint
- rust-quality
- wright-cli-build
- workshop-integration
- opy-integration
- lpp-integration
- cli-behavior
- metrics-shard
- metrics-drift
- dist-cli-build
- dist-validation
- agent-guide
- wasm-core
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Fail on failed, cancelled, or wrongly skipped jobs
env:
NEEDS: ${{ toJSON(needs) }}
PATHS: ${{ toJSON(needs.paths.outputs) }}
run: |
python3 -m pip install PyYAML==6.0.3
python3 scripts/ci-jobs.py result