Repository navigation
622 lines (535 loc) · 23.6 KB
/
Copy pathmaster.yml
File metadata and controls
622 lines (535 loc) · 23.6 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
name: Main
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
concurrency:
group: master-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
quality:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
- name: Resolve Python version for hook cache
id: python
run: echo "version=$(python -c 'import platform; print(platform.python_version())')" >> "$GITHUB_OUTPUT"
- name: Cache prek environments
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: ~/.cache/prek
key: prek-v1-${{ runner.os }}-${{ runner.arch }}-${{ steps.python.outputs.version }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run checks
run: make check
- name: Check OpenAPI contract
run: make contract-test
tests:
timeout-minutes: 40
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
suite: [unit, e2e]
fail-fast: false
defaults:
run:
shell: bash
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: ${{ matrix.python-version }}
- name: Set up project tools
uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
- name: Cache DSH configuration dependencies
if: matrix.suite == 'unit'
uses: ./.github/actions/cache-pnpm
with:
working-directory: integrations/dsh/plugins/powercontext/tests/config-runtime
cache-dependency-glob: integrations/dsh/plugins/powercontext/tests/config-runtime/pnpm-lock.yaml
- name: Install and resolve native DSH configuration test APIs
if: matrix.suite == 'unit'
run: |
pnpm --dir integrations/dsh/plugins/powercontext/tests/config-runtime install --frozen-lockfile
boot="$(node --input-type=module -e "import { createRequire } from 'node:module'; import { resolve } from 'node:path'; const require = createRequire(resolve('integrations/dsh/plugins/powercontext/tests/config-runtime/package.json')); process.stdout.write(require.resolve('@deepseek-ai/dsh-app-boot'))")"
test -n "$boot" && test -f "$boot" || { echo "DSH configuration runtime unresolved"; exit 1; }
echo "DSH_TEST_CONFIG_BOOT=$boot" >> "$GITHUB_ENV"
- name: Run unit tests
if: matrix.suite == 'unit'
env:
PYTEST_ADDOPTS: --require-dsh-config-runtime
run: make unit-test
- name: Run end-to-end tests
if: matrix.suite == 'e2e'
run: make e2e-test
evaluation-tests:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
cache-dependency-glob: |
pyproject.toml
uv.lock
integrations/langchain/pyproject.toml
integrations/langgraph/pyproject.toml
integrations/opendal/pyproject.toml
evaluation/pyproject.toml
evaluation/uv.lock
# Evaluation has its own uv project. Collect each suite's unit tests through
# its dedicated path; the root project's testpaths do not include them.
- name: Run the evaluation project unit tests
run: |
set -o pipefail
make evaluation-unit-test 2>&1 | tee evaluation/pytest.log
# A pull request from a fork cannot read this run's raw job log — the log
# endpoint answers `Must have admin rights to Repository` — so a red check
# is otherwise an exit code and nothing else. Both the step summary and an
# annotation are readable by the contributor, and the annotation is the one
# that still says something when the failure happened before the tests ran.
- name: Report the failing cases
if: failure()
run: |
{
echo "### evaluation unit tests"
echo
echo '```'
uv --version || true
python3 -V || true
echo '```'
echo
if grep -qE '^(FAILED|ERROR) ' evaluation/pytest.log; then
echo '```'
grep -E '^(FAILED|ERROR) ' evaluation/pytest.log
echo '```'
else
echo "No failing case was reported, so the run failed before the tests ran:"
echo
echo '```'
tail -n 40 evaluation/pytest.log
echo '```'
fi
} >> "$GITHUB_STEP_SUMMARY"
detail=$(tail -n 25 evaluation/pytest.log | awk '{gsub(/%/, "%25"); gsub(/\r/, "%0D"); printf "%s%%0A", $0}')
echo "::error title=evaluation unit tests failed::${detail}"
code-seekdb:
timeout-minutes: 20
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.14"]
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: ${{ matrix.python-version }}
- name: Test code indexing with embedded seekdb
run: make code-seekdb-test
- name: Test unified migrations with embedded seekdb
timeout-minutes: 10
env:
POWERCONTEXT_TEST_MIGRATION_SEEKDB: "1"
POWERCONTEXT_TEST_MIGRATION_SQL_LOG: "1"
PYTHONUNBUFFERED: "1"
TMPDIR: ${{ runner.temp }}/seekdb-migration
run: |
set -o pipefail
mkdir -p "$TMPDIR"
collect_diagnostics() {
df -h . /tmp
# A timed-out pytest process cannot run fixture cleanup. Preserve
# native startup/recovery evidence too: a tail alone can omit the
# transaction that acquired the lock blocking the final SQL query.
find "$TMPDIR" -type f \( -name '*.log' -o -name '*.log.wf' \) \
-printf '%P\0' | tar -czf seekdb-native.tar.gz -C "$TMPDIR" --null -T -
}
trap collect_diagnostics EXIT
df -h . /tmp
uv run --locked --extra seekdb pytest -vv \
-o faulthandler_timeout=120 --durations=20 \
tests/builtin/persistence/test_database_migration_backends.py \
tests/builtin/persistence/test_database_backup_providers.py \
tests/builtin/persistence/test_database_migration_connections.py \
tests/builtin/persistence/test_mysql_migration_schema.py -k seekdb \
2>&1 | tee seekdb-migrations.log
uv run --locked --extra seekdb pytest --collect-only -q --color=no \
tests/builtin/persistence/test_mysql_migration_runner.py -k seekdb \
2>&1 | tee seekdb-runner-collection.log | tee -a seekdb-migrations.log
mapfile -t seekdb_runner_nodes < <(
sed -n '/^tests\/builtin\/persistence\/test_mysql_migration_runner\.py::/p' \
seekdb-runner-collection.log
)
if [ "${#seekdb_runner_nodes[@]}" -eq 0 ]; then
echo "No seekdb migration runner tests were collected" >&2
exit 1
fi
for seekdb_runner_node in "${seekdb_runner_nodes[@]}"; do
timeout --signal=TERM --kill-after=10s 180s \
uv run --locked --extra seekdb pytest -vv \
-o faulthandler_timeout=120 --durations=20 --log-cli-level=INFO \
"$seekdb_runner_node" -k seekdb \
2>&1 | tee -a seekdb-migrations.log
done
- name: Upload seekdb migration diagnostics
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: seekdb-migrations-${{ matrix.python-version }}
path: |
seekdb-migrations.log
seekdb-native.tar.gz
if-no-files-found: ignore
atomic-memory-clean-seekdb:
name: Atomic Memory clean migration (SeekDB)
timeout-minutes: 50
runs-on: ubuntu-latest
env:
POWERCONTEXT_TEST_MIGRATION_SEEKDB: "1"
PYTHONUNBUFFERED: "1"
MIGRATION_REPORTS: ${{ github.workspace }}/.powercontext/atomic-memory-clean-seekdb
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: "3.12"
- name: Run clean migration evidence, grants and vectors without skips
timeout-minutes: 35
env:
TMPDIR: ${{ runner.temp }}/am-seekdb
run: |
mkdir -p "$TMPDIR"
uv run --locked --extra seekdb python scripts/run_atomic_memory_clean_migration.py \
seekdb --output "$MIGRATION_REPORTS"
- name: Test long-query retrieval and admission without skips
timeout-minutes: 10
env:
TMPDIR: ${{ runner.temp }}/am-seekdb
run: |
uv run --locked --extra seekdb python scripts/run_atomic_memory_clean_migration.py \
seekdb --output "$MIGRATION_REPORTS/long-query" --tests \
tests/e2e/test_atomic_artifact_search_http.py \
tests/e2e/test_atomic_memory_long_fts_query.py
- name: Collect native diagnostics
if: always()
env:
TMPDIR: ${{ runner.temp }}/am-seekdb
run: |
mkdir -p "$MIGRATION_REPORTS"
df -h . /tmp > "$MIGRATION_REPORTS/disk.txt"
if [ -d "$TMPDIR" ]; then
find "$TMPDIR" -type f \( -name '*.log' -o -name '*.log.wf' \) \
-print -exec tail -c 8388608 {} \; > "$MIGRATION_REPORTS/seekdb-native.log"
fi
- name: Save clean migration reports
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: atomic-memory-clean-seekdb-${{ github.sha }}
path: ${{ env.MIGRATION_REPORTS }}/
include-hidden-files: true
if-no-files-found: error
retention-days: 7
windows-unit-portability:
timeout-minutes: 20
runs-on: windows-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
- name: Check Windows worker types
run: >-
uv run --locked --no-sync ty check --python-platform win32
src/powercontext/builtin/runtime/artifact_processing.py
tests/builtin/runtime/test_artifact_processing.py
- name: Verify spawned worker lifecycle on Windows
run: uv run --locked --no-sync pytest -q tests/builtin/runtime/test_artifact_processing.py
- name: Verify unsupported native indexing is skipped on Windows
run: >-
uv run --locked --no-sync pytest -q
tests/builtin/test_native_code.py
tests/builtin/test_native_code_multilanguage.py
tests/e2e/test_native_code_multilanguage.py
- name: Verify managed guidance and exact rollback bytes on Windows
run: >-
uv run --locked --no-sync pytest -q
tests/test_guidance_generation.py
tests/test_guidance_installation.py
tests/test_opencode_installation.py
tests/test_cli_zcode.py::test_zcode_upgrade_rejects_missing_packaged_reference_and_preserves_installation
tests/test_setup_rollback.py
- name: Exercise fixtures without Windows long-path support
shell: pwsh
run: |
Set-ItemProperty -LiteralPath 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name LongPathsEnabled -Value 0
# Keep pytest's default temporary root: a short --basetemp would hide
# regressions in the nested checkout fixtures covered by issue #1501.
- name: Run Windows portability regressions
shell: pwsh
run: >-
uv run pytest -q
tests/builtin/artifacts/skill/test_package.py
tests/builtin/runtime/test_external_skills.py
tests/test_cli.py::test_remote_enroll_can_install_automatic_service_in_one_command
tests/test_openclaw_cli.py::test_build_openclaw_plugin_runs_pnpm_install_non_interactively
tests/test_opencode_cli.py
tests/test_service.py
tests/test_service_bootstrap.py
tests/test_service_environment.py
tests/test_cli_workbuddy.py::test_setup_workbuddy_remote_checkout_refreshes_the_requested_ref
dify-tools:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
with:
python-version: "3.12"
cache-dependency-glob: |
pyproject.toml
uv.lock
integrations/langchain/pyproject.toml
integrations/langgraph/pyproject.toml
integrations/opendal/pyproject.toml
integrations/dify/pyproject.toml
integrations/dify/uv.lock
- name: Check out the supported Dify host helpers
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
repository: langgenius/dify
ref: 8387590ace4a094de812b7847fc6a4c3a27cd52b # 1.17.1
path: .artifacts/dify-host
persist-credentials: false
sparse-checkout-cone-mode: false
sparse-checkout: |
api/core/entities/parameter_entities.py
api/core/plugin/entities/parameters.py
api/core/tools/__base/tool.py
api/core/tools/entities/common_entities.py
api/core/tools/entities/tool_entities.py
docker/docker-compose.yaml
web/app/components/workflow/nodes/tool/default.ts
web/app/components/workflow/nodes/tool/output-schema-utils.ts
web/app/components/workflow/nodes/_base/components/variable/utils.ts
- name: Check out the default Dify plugin daemon entities
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
repository: langgenius/dify-plugin-daemon
ref: 1310a18b2f6bc6f18768a0a6265484830891433c # 0.6.10 (Dify 1.17.1 compose default)
path: .artifacts/dify-daemon
persist-credentials: false
- name: Set up Go for daemon entity serialization
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: .artifacts/dify-daemon/go.mod
cache-dependency-path: .artifacts/dify-daemon/go.sum
- name: Set up project tools
uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
- name: Check daemon serialization, host casting, Workflow selectors and SDK HTTP readback
env:
POWERCONTEXT_DIFY_SOURCE: ${{ github.workspace }}/.artifacts/dify-host
POWERCONTEXT_DIFY_DAEMON_SOURCE: ${{ github.workspace }}/.artifacts/dify-daemon
run: make dify-test
hermes-skills:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
- name: Check out the supported Hermes host
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
repository: NousResearch/hermes-agent
ref: e624e9fde561e1add9388384012b295fde669ade # v2026.8.18 / CLI 0.20.4
path: .hermes-native
persist-credentials: false
- name: Verify native Skill discovery and metadata
env:
POWERCONTEXT_HERMES_SOURCE: ${{ github.workspace }}/.hermes-native
run: uv run pytest tests/e2e/test_hermes_skills.py
dsh-package:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the Python environment
uses: ./.github/actions/setup-python-env
- name: Set up project tools
uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
- name: Cache DSH dependencies
uses: ./.github/actions/cache-pnpm
with:
working-directory: integrations/dsh/plugins/powercontext
cache-dependency-glob: integrations/dsh/plugins/powercontext/**/pnpm-lock.yaml
- name: Test DSH package
run: make js-test
- name: Test built plugin in the real DSH runtime
run: make dsh-runtime-test
- name: Install native DSH configuration test APIs
run: pnpm --dir integrations/dsh/plugins/powercontext/tests/config-runtime install --frozen-lockfile
- name: Resolve required DSH test runtimes
run: |
bin="$(node --input-type=module -e "import { dshBin } from './integrations/dsh/plugins/powercontext/tests/runtime/fixture.mjs'; process.stdout.write(dshBin)")"
test -n "$bin" && test -f "$bin" || { echo "DSH test executable unresolved"; exit 1; }
boot="$(node --input-type=module -e "import { createRequire } from 'node:module'; import { resolve } from 'node:path'; const require = createRequire(resolve('integrations/dsh/plugins/powercontext/tests/config-runtime/package.json')); process.stdout.write(require.resolve('@deepseek-ai/dsh-app-boot'))")"
test -n "$boot" && test -f "$boot" || { echo "DSH configuration runtime unresolved"; exit 1; }
echo "DSH_TEST_EXECUTABLE=$bin" >> "$GITHUB_ENV"
echo "DSH_TEST_CONFIG_BOOT=$boot" >> "$GITHUB_ENV"
- name: Verify DSH setup with customized profiles
run: uv run pytest tests/test_dsh_transport.py --require-dsh-runtime
- name: Verify DSH guidance adapter requests and results
run: uv run pytest tests/test_integration_guidance_evaluation.py::test_dsh_controlled_native_handoff_uses_only_mcp_tools_and_preserves_complete_carriers
pi-package:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the Python environment
uses: ./.github/actions/setup-python-env
- name: Set up project tools
uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
- name: Cache Pi dependencies
uses: ./.github/actions/cache-pnpm
with:
working-directory: integrations/pi/plugins/powercontext
cache-dependency-glob: integrations/pi/plugins/powercontext/pnpm-lock.yaml
- name: Test Pi package
run: make pi-test
- name: Verify Pi guidance adapter requests and results
run: uv run pytest "tests/test_integration_guidance_evaluation.py::test_native_adapter_handoff_uses_real_request_mapping_and_response_envelopes[pi]"
opencode-package:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the Python environment
uses: ./.github/actions/setup-python-env
- uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
- name: Cache OpenCode dependencies
uses: ./.github/actions/cache-pnpm
with:
working-directory: integrations/opencode/plugins/powercontext
cache-dependency-glob: integrations/opencode/plugins/powercontext/pnpm-lock.yaml
- name: Test OpenCode package
run: make opencode-test
- name: Verify OpenCode guidance adapter requests and results
run: uv run pytest "tests/test_integration_guidance_evaluation.py::test_native_adapter_handoff_uses_real_request_mapping_and_response_envelopes[opencode]"
openclaw-package:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the Python environment
uses: ./.github/actions/setup-python-env
- uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
# The pinned OpenClaw SDK requires the SQLite runtime shipped with Node 24.15+.
- run: mise install node@24.15.0
- name: Cache OpenClaw dependencies
uses: ./.github/actions/cache-pnpm
with:
working-directory: integrations/openclaw/plugins/memory-powercontext
cache-dependency-glob: integrations/openclaw/plugins/memory-powercontext/pnpm-lock.yaml
- name: Test OpenClaw package
run: mise exec node@24.15.0 -- make openclaw-plugin-test
- name: Verify OpenClaw guidance adapter requests and results
run: mise exec node@24.15.0 -- uv run pytest tests/test_integration_guidance_evaluation.py::test_openclaw_handoff_adapter_preserves_generated_source_identity
opendal-package:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the Python environment
uses: ./.github/actions/setup-python-env
with:
python-version: "3.12"
- name: Test OpenDAL package
run: make opendal-test
website-link-validation-windows:
timeout-minutes: 20
runs-on: windows-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up website tools
uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
- name: Cache website dependencies
uses: ./.github/actions/cache-pnpm
with:
working-directory: website
cache-dependency-glob: website/pnpm-lock.yaml
- name: Install website dependencies
run: pnpm --dir website install --frozen-lockfile
- name: Test route scanning and link validation
run: pnpm --dir website test:links
check-website:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- name: Set up the environment
uses: ./.github/actions/setup-python-env
- name: Set up website tools
uses: jdx/mise-action@2d8d4cafcbd33be2ea37d2b6f5ad595363d1f1ca # v5.1.1
- name: Cache website dependencies
uses: ./.github/actions/cache-pnpm
with:
working-directory: website
cache-dependency-glob: website/pnpm-lock.yaml
- name: Check website
run: make docs-test