Skip to content

Commit 6f09b57

Browse files
Pigbibiclaudecursoragent
authored
ci(deps): use QPK pin script and enforce uv lock check (#311)
Call canonical check_qpk_pin_consistency from checked-out QPK and fail CI when uv.lock drifts from pyproject/override pins. Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e69af2c commit 6f09b57

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,14 @@ jobs:
8585
uv run --no-sync ruff check --exclude external .
8686
8787
- name: Check QPK pin consistency
88-
run: uv run --no-sync python scripts/check_qpk_pin_consistency.py
88+
run: |
89+
set -euo pipefail
90+
uv run --no-sync python external/QuantPlatformKit/scripts/check_qpk_pin_consistency.py \
91+
--root . \
92+
--pin-file external/QuantPlatformKit/QPK_PIN
93+
94+
- name: Ensure uv.lock matches pyproject.toml
95+
run: uv lock --check
8996

9097
- name: Run unit tests
9198
run: |

0 commit comments

Comments
 (0)