Skip to content

Merge pull request #20 from whisper67265/feature/format-reg #2

Merge pull request #20 from whisper67265/feature/format-reg

Merge pull request #20 from whisper67265/feature/format-reg #2

name: Build and check
on:
push:
pull_request:
permissions:
contents: read
jobs:
build-and-check:
name: Build packages
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.14'
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: false
version: 0.11.12
- name: uv build
run: uv build
- name: twine check
run: uvx twine check dist/*
- name: pydistcheck
run: uvx pydistcheck --inspect dist/*
- name: pyroma
run: uvx --with pip pyroma .
- name: check-wheel-contents
run: uvx check-wheel-contents dist/*.whl
- name: check-manifest
run: uvx --with pip check-manifest -v