Skip to content

Commit

Permalink
Use GitHub's setup-python action to make sure a specific Python versi…
Browse files Browse the repository at this point in the history
…on is used, also remove uv cache option

Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Sep 25, 2024
1 parent be31f4a commit daa45dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v2

- name: "Set up Python"
uses: actions/setup-python@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
python-version-file: ".python-version"

- name: Install Sphinx and requirements
run: uv pip install --system --break-system-packages -r pyproject.toml
Expand Down

0 comments on commit daa45dd

Please sign in to comment.