Skip to content

Commit 8c6fda6

Browse files
committed
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).
1 parent f6feb4f commit 8c6fda6

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)