build(deps): bump getsentry/github-workflows from c802283cd9075b7a2b7a32655019c21c21676e34 to 4013fc6e1aeb1be1f9d3b4d232624f0ec1afa613 #20649
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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - release/** | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint Sources | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| python-version: 3.14 | |
| - name: Ruff check | |
| run: uv run ruff check tests sentry_sdk | |
| - name: Ruff format | |
| run: uv run ruff format --check tests sentry_sdk | |
| - name: Find raise from None | |
| run: uv run python scripts/find_raise_from_none.py | |
| - name: Mypy | |
| run: uv run --group typing mypy sentry_sdk | |
| build_lambda_layer: | |
| name: Build Package | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| python-version: 3.14 | |
| - name: Build Packages | |
| run: | | |
| echo "Building SDK dist wheel and tar.gz" | |
| uv build | |
| echo "Building AWS Lambda Layer" | |
| uv run --group aws --with-editable . python scripts/build_aws_lambda_layer.py | |
| - name: Upload Python Packages | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 | |
| with: | |
| name: artifact-build_lambda_layer | |
| path: | | |
| dist/* | |
| if-no-files-found: 'error' | |
| docs: | |
| name: Build SDK API Doc | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| python-version: 3.14 | |
| - run: | | |
| rm -rf docs/_build | |
| uv run --group docs sphinx-build -vv -W -b html docs/ docs/_build | |
| cd docs/_build && zip -r gh-pages ./ | |
| - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 | |
| with: | |
| name: artifact-docs | |
| path: | | |
| docs/_build/gh-pages.zip | |
| if-no-files-found: 'error' |