Merge pull request #24159 from joereyna/fix/add-poetry-lock-check

chore: add poetry check --lock to lint CI to prevent stale lockfile merges
This commit is contained in:
yuneng-jiang
2026-03-19 14:48:11 -07:00
committed by GitHub
+4 -1
View File
@@ -28,9 +28,12 @@ jobs:
find . -type d -name "__pycache__" -exec rm -rf {} + || true
find . -name "*.pyc" -delete || true
- name: Check poetry.lock is up to date
run: |
poetry check --lock || (echo "❌ poetry.lock is out of sync with pyproject.toml. Run 'poetry lock' locally and commit the result." && exit 1)
- name: Install dependencies
run: |
poetry lock
poetry install --with dev
- name: Check Black formatting