Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:

env:
UV_FROZEN: "1"
UV_CACHE_DIR: /home/runner/.cache/uv

steps:
- name: Check out the repository
Expand Down Expand Up @@ -99,6 +100,7 @@ jobs:

env:
UV_FROZEN: "1"
UV_CACHE_DIR: /home/runner/.cache/uv

strategy:
fail-fast: false
Expand Down Expand Up @@ -154,6 +156,7 @@ jobs:

env:
UV_FROZEN: "1"
UV_CACHE_DIR: /home/runner/.cache/uv

steps:
- name: Check out the repository
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/warmDepsCache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
- "uv.lock"
- "pyproject.toml"
- ".pre-commit-config.yaml"
pull_request: # TEMPORARY: remove after testing
schedule:
- cron: "0 6 * * *" # Daily at 06:00 UTC
workflow_dispatch:
Expand All @@ -40,6 +41,9 @@ jobs:

env:
UV_FROZEN: "1"
# Pin cache dir so setup-uv doesn't override it to a temp path.
# Must match the path in setup-python-deps/action.yml cache restore.
UV_CACHE_DIR: /home/runner/.cache/uv

steps:
- name: Checkout main branch
Expand Down Expand Up @@ -95,7 +99,7 @@ jobs:
hatch env create verify

- name: Warm pre-commit cache
run: pre-commit install-hooks
run: hatch run pre-commit install-hooks

- name: Build and warm pip cache for verify environment
run: |
Expand Down
Loading