Skip to content

Enforce 100% type-hint coverage and align typing to PEP 585/604 #1818

Enforce 100% type-hint coverage and align typing to PEP 585/604

Enforce 100% type-hint coverage and align typing to PEP 585/604 #1818

Workflow file for this run

name: package-release
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
release:
types:
- published
jobs:
build:
name: build and upload release to pypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Build with uv
run: uv build
- uses: casperdcl/deploy-pypi@v2
with:
password: ${{ secrets.PYPI_TOKEN }}
upload: ${{ github.event_name == 'release' && github.event.action == 'published' }}