ci: fix uv cache in CI workflows (#8319)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2025-06-03 09:50:18 -03:00 committed by GitHub
commit bdc7587930
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1 additions and 14 deletions

View file

@ -19,12 +19,3 @@ runs:
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- name: Restore uv cache
uses: actions/cache@v4
with:
path: /tmp/.uv-cache
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
restore-keys: |
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}

View file

@ -33,8 +33,6 @@ jobs:
build:
name: Unit Tests - Python ${{ matrix.python-version }} - Group ${{ matrix.group }}
runs-on: ubuntu-latest
env:
UV_CACHE_DIR: /tmp/.uv-cache
strategy:
matrix:
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13"]' ) }}

View file

@ -20,7 +20,6 @@ jobs:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ASTRA_DB_API_ENDPOINT: ${{ secrets.ASTRA_DB_API_ENDPOINT }}
ASTRA_DB_APPLICATION_TOKEN: ${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}
UV_CACHE_DIR: /tmp/.uv-cache
steps:
- uses: actions/checkout@v4
- name: "Setup Environment"

View file

@ -256,7 +256,6 @@ jobs:
ANTHROPIC_API_KEY: "${{ secrets.ANTHROPIC_API_KEY }}"
TAVILY_API_KEY: "${{ secrets.TAVILY_API_KEY }}"
LANGFLOW_DEACTIVE_TRACING: "true"
UV_CACHE_DIR: /tmp/.uv-cache
outputs:
failed: ${{ steps.check-failure.outputs.failed }}
steps: