| 1 |
--- |
| 2 |
name: Build docset |
| 3 |
|
| 4 |
on: |
| 5 |
push: |
| 6 |
tags: ["*"] |
| 7 |
workflow_dispatch: |
| 8 |
|
| 9 |
env: |
| 10 |
PIP_DISABLE_PIP_VERSION_CHECK: "1" |
| 11 |
PIP_NO_PYTHON_VERSION_WARNING: "1" |
| 12 |
|
| 13 |
permissions: {} |
| 14 |
|
| 15 |
|
| 16 |
jobs: |
| 17 |
docset: |
| 18 |
runs-on: ubuntu-latest |
| 19 |
steps: |
| 20 |
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 21 |
with: |
| 22 |
fetch-depth: 0 |
| 23 |
persist-credentials: false |
| 24 |
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
| 25 |
with: |
| 26 |
python-version: "3.x" |
| 27 |
- uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0 |
| 28 |
|
| 29 |
- run: uvx --with=tox-uv tox run -e docset |
| 30 |
|
| 31 |
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 |
| 32 |
with: |
| 33 |
name: docset |
| 34 |
path: attrs.tgz |