Skip to content

Commit

Permalink
chore: fix uv version in pre-commit and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjholland committed Jan 22, 2025
1 parent 9802dba commit 5220e75
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- uses: actions/setup-python@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.22"

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:

- name: Install uv & dependencies
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.22"

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -48,6 +51,6 @@ jobs:
with:
branch: release-candidates/rc-${{ steps.bump.outputs.version }}
title: "Release Candidate ${{ steps.bump.outputs.version }}"
commit-message: "chore: release candidate ${{ steps.bump.outputs.version }} [skip ci]"
commit-message: "chore: release candidate ${{ steps.bump.outputs.version }}"
base: main
body: "This PR is the release candidate for version ${{ steps.bump.outputs.version }}."
3 changes: 3 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.22"

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- uses: actions/setup-python@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
# Install a specific version of uv.
version: "0.5.22"

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ repos:
args: ['--extra-keys="metadata.kernelspec"']
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.5.8
rev: 0.5.22
hooks:
- id: uv-lock

0 comments on commit 5220e75

Please sign in to comment.