Skip to content

Commit 2612758

Browse files
committed
ci: Re-work env checkout for uv in CI
1 parent 03c37a1 commit 2612758

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/actions/bootstrap-environ/action.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ inputs:
77
runner:
88
description: The Runner to build your environment on.
99

10-
env:
11-
# Configure a relative location for the uv cache
12-
UV_CACHE_DIR: ~/.cache/uv
13-
1410
runs:
1511
using: composite
1612
steps:
@@ -20,6 +16,12 @@ runs:
2016
git config pull.ff true
2117
shell: bash
2218
- uses: astral-sh/setup-uv@v5
19+
env:
20+
# Configure a relative location for the uv cache
21+
UV_CACHE_DIR: ~/.cache/uv
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- uses: actions/setup-python@v5
2325
with:
2426
python-version: ${{ inputs.python-version }}
2527
- uses: actions/cache@v4

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
os: [ ubuntu-latest ]
26-
python-version: [ "3.x" ]
26+
python-version: [ "3.12" ]
2727
steps:
2828
- uses: actions/create-github-app-token@v1
2929
id: app-token

0 commit comments

Comments
 (0)