Skip to content

Commit 6a17ee8

Browse files
Patel230claude
andcommitted
ci: compile-check examples/ to prevent example rot
Adds `python -m compileall examples` to the lint job so the SDK examples can't silently break (ruff already lints them; this adds import/syntax validation). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent df5ed25 commit 6a17ee8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
5656
run: ruff check .
5757
- name: ruff format --check
5858
run: ruff format --check .
59+
- name: examples compile (anti-rot)
60+
run: python -m compileall examples
5961

6062
typecheck:
6163
name: typecheck (mypy --strict)

0 commit comments

Comments
 (0)