Use uv for pre-commit autoupdate (#1095)

* Use uv pip install in pre-commit auto-update workflow

* Set Python version using .python-version file
This commit is contained in:
Zach Borboa
2026-04-30 09:46:56 -04:00
committed by GitHub
parent cfa95f457d
commit 7f5301523e
2 changed files with 7 additions and 2 deletions
+6 -2
View File
@@ -15,11 +15,15 @@ jobs:
ref: 'master'
persist-credentials: false
- name: Set up uv
uses: astral-sh/setup-uv@v8
with:
python-version-file: .python-version
- name: Update dependencies
run: |
set -x
python -m pip install --upgrade pip
pip install pre-commit packaging
uv pip install --system pre-commit packaging
python scripts/pre_commit_stable.py autoupdate --config="tests/.pre-commit-config.yaml"
- name: Gather changes
+1
View File
@@ -0,0 +1 @@
3.13