Merge pull request #148 from rasg-affiliates/dependabot/github_action… #166
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 Distribution Build | |
on: push | |
jobs: | |
check-build: | |
name: Twine Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Build Tools | |
run: pip install build twine | |
- name: Build a binary wheel | |
run: | | |
python -m build . | |
- name: Check Distribution | |
run: | | |
twine check dist/* |