Skip to content

Commit

Permalink
astral-sh/setup-uv@v5
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Jan 5, 2025
1 parent 6d3273f commit ee4d059
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,14 @@ jobs:

- name: Install uv
id: setup-uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: 'uv.lock'
uses: astral-sh/setup-uv@v5

- name: Celebrate uv cache hit
if: steps.setup-uv.outputs.cache-hit == 'true'
run: echo "Cache was restored"

- name: Set up Python
run: uv python install 3.12.7
run: uv python install 3.12

- name: Install the project
run: uv sync
Expand Down

0 comments on commit ee4d059

Please sign in to comment.