Skip to content

Commit

Permalink
Merge pull request #94 from matterhorn103/uv
Browse files Browse the repository at this point in the history
Use uv for project management
  • Loading branch information
ghutchis authored Nov 11, 2024
2 parents 88d28e8 + 32d97a4 commit 242aa14
Show file tree
Hide file tree
Showing 2 changed files with 560 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,17 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v2

with:
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

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

- name: Configure
run: |
Expand All @@ -68,7 +71,7 @@ jobs:
- name: Build Sphinx
run: |
cd source
sphinx-build -j auto -E . ../public
uv run sphinx-build -j auto -E . ../public
cd ..
git status
shell: bash
Expand Down
Loading

0 comments on commit 242aa14

Please sign in to comment.