Skip to content

Publishing

Publishing #1

Workflow file for this run

name: Publishing
on:
workflow_dispatch:
push:
tags:
# Publish on any tag starting with a `v`, e.g., v0.1.0
- v*
jobs:
run:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install Python 3.13
run: uv python install 3.13
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Build
run: uv build
- name: Smoke test
run: uv run pytest
- name: Publish
run: uv publish