mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 20:20:53 +00:00
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:
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
3.13
|
||||
Reference in New Issue
Block a user