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

@ -39,6 +39,7 @@ on:
required: true
type: string
pre_release:
description: "Whether this is a pre-release."
required: false
type: boolean
default: false
@ -49,7 +50,7 @@ on:
env:
POETRY_VERSION: "1.8.2"
PYTHON_VERSION: "3.13"
TEST_TAG: "langflowai/langflow:test"
jobs:
@ -191,7 +192,12 @@ jobs:
ref: ${{ inputs.ref || inputs.main_version || github.ref }}
persist-credentials: true
- 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 the project
run: |
if [[ "${{ inputs.release_type }}" == "base" || "${{ inputs.release_type }}" == "nightly-base" ]]; then
@ -337,9 +343,12 @@ jobs:
with:
ref: ${{ inputs.ref || inputs.main_version || github.ref }}
- 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: ${{ matrix.python-version }}
prune-cache: false
- name: Restart HuggingFace Spaces Build
run: |