Skip to content

Commit 9f6719f

Browse files
authored
Merge branch 'main' into dion/pipeline-guide
2 parents 9737047 + bf6887b commit 9f6719f

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/bump_lockfile.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,20 @@ jobs:
2929
pip install toml packaging
3030
python .github/workflows/update_runtime_deps.py pyproject.toml
3131
32+
- name: Install pre-commit
33+
# uv provides the interpreter and puts pre-commit on PATH for the steps
34+
# below.
35+
run: |
36+
uv tool install pre-commit
37+
3238
- name: Update lockfile
3339
run: |
34-
mv production.uv.lock uv.lock
35-
uv lock --upgrade
36-
mv uv.lock production.uv.lock
40+
# Remove lockfile to force update
41+
rm production.uv.lock
42+
pre-commit run update-uv-env --all-files || true
3743
3844
- name: Generate new requirements.txt
3945
run: |
40-
pip install pre-commit
4146
pre-commit run update-requirements --all-files || true
4247
4348
- name: Detect if changes were made

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929

3030
- repo: https://github.com/astral-sh/ruff-pre-commit
3131
# Ruff version.
32-
rev: v0.15.20
32+
rev: v0.15.21
3333
hooks:
3434
# Run the linter.
3535
- id: ruff

0 commit comments

Comments
 (0)