Skip to content

Update template to v0.8.0 (resolved) (#761) #1840

Update template to v0.8.0 (resolved) (#761)

Update template to v0.8.0 (resolved) (#761) #1840

Workflow file for this run

name: Check Build
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
filter: blob:none
fetch-depth: 0
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
- name: Build package
run: uv build
- name: Check package
run: uvx twine check --strict dist/*.whl
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: true
fetch-depth: 0
persist-credentials: false
- name: Pull latest notebooks
# Match RTD: render whatever is on notebooks-repo main, not the pinned SHA.
run: git submodule update --init --remote --recursive
- name: Install uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
- name: Build docs
run: uvx hatch run docs:build