Skip to content

Commit 242cec6

Browse files
committed
ci: relock before install
poetry.lock is stale vs pyproject.toml after the merged spec bump; run poetry lock so a clean checkout installs.
1 parent bd0d261 commit 242cec6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
with:
1616
python-version: "3.10"
1717
cache: poetry
18+
# Relock first: poetry.lock is stale vs pyproject.toml (the merged spec
19+
# bump did not regenerate it).
20+
- run: poetry lock
1821
- run: poetry install
1922
- run: poetry build
2023

@@ -28,6 +31,9 @@ jobs:
2831
with:
2932
python-version: "3.10"
3033
cache: poetry
34+
# Relock first: poetry.lock is stale vs pyproject.toml (the merged spec
35+
# bump did not regenerate it).
36+
- run: poetry lock
3137
- run: poetry install
3238
# No pytest suite yet; import-smoke the built package so CI fails fast
3339
# on broken codegen/spec dependencies.

0 commit comments

Comments
 (0)