Skip to content

Commit

Permalink
ci: Re-work env checkout for uv in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
seandstewart committed Feb 8, 2025
1 parent 03c37a1 commit 2612758
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/actions/bootstrap-environ/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ inputs:
runner:
description: The Runner to build your environment on.

env:
# Configure a relative location for the uv cache
UV_CACHE_DIR: ~/.cache/uv

runs:
using: composite
steps:
Expand All @@ -20,6 +16,12 @@ runs:
git config pull.ff true
shell: bash
- uses: astral-sh/setup-uv@v5
env:
# Configure a relative location for the uv cache
UV_CACHE_DIR: ~/.cache/uv
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.x" ]
python-version: [ "3.12" ]
steps:
- uses: actions/create-github-app-token@v1
id: app-token
Expand Down

0 comments on commit 2612758

Please sign in to comment.