| --- |
| name: Build docset |
| |
| on: |
| push: |
| tags: ["*"] |
| workflow_dispatch: |
| |
| env: |
| PIP_DISABLE_PIP_VERSION_CHECK: "1" |
| PIP_NO_PYTHON_VERSION_WARNING: "1" |
| |
| concurrency: |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| cancel-in-progress: true |
| |
| permissions: {} |
| |
| |
| jobs: |
| docset: |
| name: Build Dash.app docset |
| runs-on: ubuntu-latest |
| steps: |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| with: |
| fetch-depth: 0 |
| persist-credentials: false |
| - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 |
| with: |
| python-version: "3.x" |
| - uses: hynek/setup-cached-uv@34e35d30f1ebc7421a5cc733bca38dcc62603960 # v2.6.0 |
| |
| - run: > |
| uv run --only-group tox |
| tox run -e docset |
| |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
| with: |
| name: docset |
| path: attrs.tgz |