infra: bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 #159
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.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/* |