chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491)

* chore: remove setup-uv action configuration file as it is no longer needed

* chore: update setup-uv action to use the official action across all workflows

* chore: disable cache pruning in all workflows to improve build stability

* chore: update Python version to 3.13 and add pre-release description in workflows
This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-06-11 15:56:04 -03:00 committed by GitHub
commit b378eb81d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 94 additions and 53 deletions

View file

@ -23,15 +23,19 @@ 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: "3.13"
prune-cache: false
- name: Install the project
run: uv sync
- name: Run unit tests
id: run_tests
continue-on-error: true
run: uv run pytest src/backend/tests/unit --timeout=120 --durations-path src/backend/tests/.test_durations --splitting-algorithm least_duration --store-durations
- name: Minimize uv cache
run: uv cache prune --ci
- name: Close existing PRs
uses: actions/github-script@v7