Skip to content

Commit fdf5e59

Browse files
Pigbibiclaudecursoragent
authored
ci(deps): use QPK pin script and enforce uv lock check (#319)
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 f9750da commit fdf5e59

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
@@ -111,7 +111,14 @@ jobs:
111111
uv run --no-sync ruff check --exclude external .
112112
113113
- name: Check QPK pin consistency
114-
run: uv run --no-sync python scripts/check_qpk_pin_consistency.py
114+
run: |
115+
set -euo pipefail
116+
uv run --no-sync python external/QuantPlatformKit/scripts/check_qpk_pin_consistency.py \
117+
--root . \
118+
--pin-file external/QuantPlatformKit/QPK_PIN
119+
120+
- name: Ensure uv.lock matches pyproject.toml
121+
run: uv lock --check
115122

116123
- name: Run unit tests
117124
run: |

0 commit comments

Comments
 (0)