| --- |
| 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
| with: |
| fetch-depth: 0 |
| persist-credentials: false |
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 |
| with: |
| python-version: "3.x" |
| - uses: hynek/setup-cached-uv@4300ec2180bc77d705e626a34e381b81a4772c51 # v2.5.0 |
| |
| - run: uvx --with=tox-uv tox run -e docset |
| |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
| with: |
| name: docset |
| path: attrs.tgz |