ci: fix uv cache in CI workflows (#8319)
This commit is contained in:
parent
9191773957
commit
bdc7587930
5 changed files with 1 additions and 14 deletions
9
.github/actions/setup-uv/action.yml
vendored
9
.github/actions/setup-uv/action.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
2
.github/workflows/python_test.yml
vendored
2
.github/workflows/python_test.yml
vendored
|
|
@ -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"]' ) }}
|
||||
|
|
|
|||
1
.github/workflows/store_pytest_durations.yml
vendored
1
.github/workflows/store_pytest_durations.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
1
.github/workflows/typescript_test.yml
vendored
1
.github/workflows/typescript_test.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue