File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments