Twine Check #38
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: Twine Check | |
on: [push, pull_request] | |
jobs: | |
Twine-Check: | |
name: Run 'twine check' Against Salt | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
env: | |
PIP_EXTRA_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/ | |
run: | | |
pip install --upgrade pip setuptools wheel | |
pip install twine==3.3.0 | |
- name: Create Source Tarball | |
run: | | |
python3 setup.py sdist | |
- name: Twine check | |
run: | | |
python3 -m twine check dist/* |