Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions template/.github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
build-docs:
runs-on: ubuntu-latest

strategy:
matrix:
pyversion: ["3.13"]

# Grant GITHUB_TOKEN the permissions required to make a gh-pages deployment
permissions:
contents: write # to let mkdocs write the new docs
Expand All @@ -35,15 +39,15 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6.4.3
with:
python-version: 3.13
python-version: ${{ matrix.pyversion }}
enable-cache: true
cache-dependency-glob: "uv.lock"

# https://github.com/actions/setup-python
- name: Set up Python
uses: actions/setup-python@v5.6.0
with:
python-version: 3.13
python-version: ${{ matrix.pyversion }}

- name: Install just
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
id-token: write # allow to generate an OpenID Connect (OIDC) token
pull-requests: write # add comment on the PR with the preview URL
runs-on: ubuntu-latest

strategy:
matrix:
pyversion: ["3.13"]

steps:
# https://github.com/actions/checkout
- name: Checkout
Expand All @@ -34,15 +39,15 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6.4.3
with:
python-version: 3.13
python-version: ${{ matrix.pyversion }}
enable-cache: true
cache-dependency-glob: "uv.lock"

# https://github.com/actions/setup-python
- name: Set up Python 3
uses: actions/setup-python@v5.6.0
with:
python-version: 3.13
python-version: ${{ matrix.pyversion }}

- name: Install dependencies
run: uv sync --dev --no-progress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
name: Build Python 🐍 distributions 📦 for publishing
runs-on: ubuntu-latest

strategy:
matrix:
pyversion: ["3.13"]

steps:
# https://github.com/actions/checkout
- name: Check out repository
Expand All @@ -36,14 +40,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6.4.3
with:
python-version: 3.13
python-version: ${{ matrix.pyversion }}
enable-cache: true

# https://github.com/actions/setup-python
- name: Set up Python
uses: actions/setup-python@v5.6.0
with:
python-version: 3.13
python-version: ${{ matrix.pyversion }}

- name: Install just
run: |
Expand Down