chore(deps): update non-major dependencies (#204) #1604
Workflow file for this run
This file contains hidden or 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: Publish Python distribution to PyPI | |
| on: | |
| push: | |
| tags: [ '*' ] | |
| jobs: | |
| build-n-publish: | |
| name: Build and publish Python distributions to PyPI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 # Needed for setuptools_scm | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14' | |
| - name: Install build dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build twine | |
| - name: Install project with test dependencies | |
| run: | | |
| pip install -e .[dev] | |
| - name: Run tests | |
| run: | | |
| pytest tests/ -v --tb=short | |
| - name: Build distribution packages | |
| run: | | |
| python -m build | |
| - name: Check distribution packages | |
| run: | | |
| twine check dist/* | |
| - name: Publish distribution to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| password: ${{ secrets.ADOBE_BOT_PYPI_TOKEN }} |