Skip to content

Add proxy/adapter helpers and building-a-proxy guide (v0.5.0) #17

Add proxy/adapter helpers and building-a-proxy guide (v0.5.0)

Add proxy/adapter helpers and building-a-proxy guide (v0.5.0) #17

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- "v*"
permissions:
id-token: write
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- run: pip install -e ".[dev]"
- run: pytest tests/ -v
publish:
needs: test
runs-on: ubuntu-latest
environment: pypi
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- run: pip install build
- run: python -m build
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
with:
print-hash: true