Skip to content

feat: Rigetti Ankaa #2089

feat: Rigetti Ankaa

feat: Rigetti Ankaa #2089

Workflow file for this run

name: Check long description for PyPI
on:
pull_request:
branches:
- main
- feature/**
permissions:
contents: read
jobs:
twine-check:
name: Check long description
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: '3.x'
- name: Install wheel
run: python -m pip install --user --upgrade wheel
- name: Install twine
run: python -m pip install --user --upgrade twine
- name: Install setuptools
run: python -m pip install --user --upgrade setuptools
- name: Build a binary wheel and a source tarball
run: python setup.py sdist bdist_wheel
- name: Check that long description will render correctly on PyPI.
run: twine check dist/*