chore(ci): update workflow to use astral-sh/setup-uv@v6 with Python version (#8508)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-06-12 09:30:29 -03:00 committed by GitHub
commit 34c55f14b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,8 @@ on:
paths:
- "**/*.py"
env:
POETRY_VERSION: "1.8.2"
PYTHON_VERSION: "3.13"
jobs:
lint:
@ -13,7 +14,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: "Setup Environment"
uses: ./.github/actions/setup-uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
python-version: ${{ env.PYTHON_VERSION }}
prune-cache: false
- run: uv run ruff check --fix-only .
- run: uv run ruff format . --config pyproject.toml
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
@ -25,7 +31,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: "Setup Environment"
uses: ./.github/actions/setup-uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
python-version: ${{ env.PYTHON_VERSION }}
prune-cache: false
- name: "Install dependencies"
run: |