Repository navigation
ref(sdk): Use sentry-sdk==3.0.0 (major update) #10647
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: dev env | |
| on: | |
| pull_request: | |
| paths: | |
| - '.pre-commit-config.yaml' | |
| - 'Makefile' | |
| - '.github/workflows/development-environment.yml' | |
| - '.github/workflows/scripts/**' | |
| - 'requirements-*.txt' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| - '.python-version' | |
| - '.envrc' | |
| - 'Brewfile' | |
| - 'scripts/**' | |
| - 'tools/**' | |
| - 'src/sentry/runner/commands/devserver.py' | |
| - 'src/sentry/runner/commands/devservices.py' | |
| - 'bin/load-mocks' | |
| # Cancel in progress workflows on pull_requests. | |
| # https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| # hack for https://github.com/actions/cache/issues/810#issuecomment-1222550359 | |
| env: | |
| SEGMENT_DOWNLOAD_TIMEOUT_MINS: 3 | |
| jobs: | |
| test: | |
| runs-on: ubuntu-26.04-arm | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
| - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 | |
| with: | |
| node-version-file: '.node-version' | |
| - name: Test workflow scripts | |
| run: node --test .github/workflows/scripts/*.test.{js,ts} | |
| - uses: astral-sh/setup-uv@884ad927a57e558e7a70b92f2bccf9198a4be546 # v6 | |
| with: | |
| version: '0.13.7' | |
| # we just cache the venv-dir directly in action-setup-venv | |
| enable-cache: false | |
| - uses: getsentry/action-setup-venv@5a80476d175edf56cb205b08bc58986fa99d1725 # v3.2.0 | |
| with: | |
| cache-dependency-path: uv.lock | |
| install-cmd: uv sync --only-dev --frozen --active | |
| - name: test-tools | |
| run: make test-tools | |
| devenv: | |
| runs-on: ubuntu-26.04-arm | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
| - uses: astral-sh/setup-uv@884ad927a57e558e7a70b92f2bccf9198a4be546 # v6 | |
| with: | |
| version: '0.13.7' | |
| # we just cache the venv-dir directly in action-setup-venv | |
| enable-cache: false | |
| - uses: getsentry/action-setup-venv@5a80476d175edf56cb205b08bc58986fa99d1725 # v3.2.0 | |
| with: | |
| cache-dependency-path: uv.lock | |
| # technically we can just use --only-dev but more cache is nice | |
| install-cmd: uv sync --frozen --active | |
| - name: devenv sync | |
| run: | | |
| devenv --nocoderoot sync |