-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Change release pipeline to uv
- Loading branch information
Showing
2 changed files
with
11 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,17 @@ | ||
name: Install Python dependencies | ||
description: Install all core and optional Python dependencies | ||
name: Install Python version using uv | ||
description: Install uv and a target Python interpreter | ||
inputs: | ||
pythonVersion: | ||
description: Python version to set up (see actions/setup-python@v5) | ||
description: Python version to set up using uv | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ inputs.pythonVersion }} | ||
cache: "pip" | ||
cache-dependency-path: | | ||
requirements-dev.txt | ||
requirements-docs.txt | ||
pyproject.toml | ||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements-dev.txt -r requirements-docs.txt | ||
pip install -e . --no-deps | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
- name: Install Python interpreter | ||
run: uv python install ${{ inputs.pythonVersion }} | ||
shell: bash | ||
- name: Install the project | ||
run: uv sync --all-extras --dev | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters