Skip to content

Commit 7f0e4a0

Browse files
committed
ci: lock dependencies to ensure reproducible builds
1 parent 780e81a commit 7f0e4a0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ jobs:
2424
enable-cache: true
2525

2626
- name: Install dependencies
27-
run: uv sync
27+
run: uv sync --locked
2828

2929
- name: Run pre-commit hooks
3030
run: uv run pre-commit run --all-files
3131

32+
- name: Show files modified by pre-commit
33+
if: failure()
34+
run: git diff --name-only
35+
3236
test:
3337
name: Test
3438
runs-on: ubuntu-latest
@@ -46,7 +50,7 @@ jobs:
4650
enable-cache: true
4751

4852
- name: Install dependencies
49-
run: uv sync
53+
run: uv sync --locked
5054

5155
- name: Run tests
5256
run: uv run pytest -v

0 commit comments

Comments
 (0)