Skip to content

Merge pull request #22 from AuraMindNest/feature/ci-pre-commit #10

Merge pull request #22 from AuraMindNest/feature/ci-pre-commit

Merge pull request #22 from AuraMindNest/feature/ci-pre-commit #10

# SPDX-FileCopyrightText: 2026 Andrew Zhang <whisper67265@outlook.com>
#
# SPDX-License-Identifier: BSL-1.0
name: Build and check
on:
push:
pull_request:
permissions:
contents: read
jobs:
build-and-check:
name: Build packages
runs-on: ubuntu-latest
steps:
# actions/checkout v6.0.2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
# actions/setup-python v6.2.0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: '3.14'
# astral-sh/setup-uv v8.1.0
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
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