Skip to content

docs: add CHANGELOG entries for v0.3.1 and v0.4.0 #5

docs: add CHANGELOG entries for v0.3.1 and v0.4.0

docs: add CHANGELOG entries for v0.3.1 and v0.4.0 #5

---
name: publish-to-pypi
on:
workflow_dispatch: ~
push:
tags:
- "v*"
jobs:
build-n-push:
name: upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/smartscan/
permissions:
id-token: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install the project
run: uv sync --locked --group dev
- name: Run tests
run: uv run pytest -v tests/
- name: Build a binary wheel and a source tarball
run: uv build -v
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1