Use uv instead of pipx
This commit is contained in:
@@ -13,7 +13,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pipx run pre-commit run --all-files
|
||||
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
- run: uv tool run pre-commit run --all-files
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -30,7 +31,8 @@ jobs:
|
||||
runs-on: ${{ matrix.runner }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pipx install poetry
|
||||
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
- run: uv tool install poetry
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
@@ -13,10 +13,10 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- cmd: pipx run poetry lock --no-interaction
|
||||
- cmd: curl -LsSf https://astral.sh/uv/install.sh | sh && uv tool run poetry lock --no-interaction
|
||||
commit-msg: Update poetry.lock
|
||||
branch: update/poetry-lock
|
||||
- cmd: pipx run pre-commit autoupdate
|
||||
- cmd: curl -LsSf https://astral.sh/uv/install.sh | sh && uv tool run pre-commit autoupdate
|
||||
commit-msg: Update .pre-commit-config.yaml
|
||||
branch: update/pre-commit-config
|
||||
fail-fast: false
|
||||
|
||||
Reference in New Issue
Block a user