Use uv instead of pipx

This commit is contained in:
monosans
2024-08-21 11:06:02 +03:00
parent a982938bfc
commit 24dd7fef52
2 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -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"
+2 -2
View File
@@ -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