Skip to content

Commit 49a78c5

Browse files
committed
GH actions: Ensure uv.lock doesnt contain anything not in pyproject.toml
1 parent b4138a4 commit 49a78c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050

5151
- run: uv venv
5252

53-
- name: Install the project
54-
run: uv sync
55-
53+
- name: Install the project & ensure uv.lock doesnt contain anything not in pyproject.toml
54+
run: uv sync && uv lock --check
55+
5656
# any local changes would make hatch-vcs set a "local version" (+dev0...), so we ignore any uv.lock updates:
5757
- run: git update-index --assume-unchanged uv.lock
5858

0 commit comments

Comments
 (0)