Skip to content

infra: bump actions/checkout from 4.1.7 to 4.2.1 #141

infra: bump actions/checkout from 4.1.7 to 4.2.1

infra: bump actions/checkout from 4.1.7 to 4.2.1 #141

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.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/*