Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/api-stability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
run_api_stability_for_prs: ${{ steps.changes.outputs.run_api_stability_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: macos-15
steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/assemble-xcframework-variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ jobs:

runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup Ruby
uses: ruby/setup-ruby@b90be12699fdfcbee4440c2bba85f6f460446bb0 # v1.279.0
if: ${{ inputs.signed }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/auto-update-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
outputs:
run_auto_update_tools_for_prs: ${{ steps.changes.outputs.run_auto_update_tools_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -62,8 +62,7 @@ jobs:
runs-on: macos-15
steps:
- name: Checkout Repository
uses: actions/checkout@v6

uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Update Homebrew
run: brew update

Expand All @@ -82,7 +81,7 @@ jobs:
git diff HEAD

- name: Create pull request for clang-format version
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 #v8.0.0
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
with:
add-paths: scripts/.clang-format-version
Expand All @@ -94,7 +93,7 @@ jobs:
base: main

- name: Create pull request for swiftlint version
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 #v8.0.0
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
with:
add-paths: scripts/.swiftlint-version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
run_benchmarking_for_prs: ${{ steps.changes.outputs.run_benchmarking_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -51,7 +51,7 @@ jobs:
needs: files-changed
runs-on: macos-26
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 26.1.1
- name: Setup Ruby
uses: ruby/setup-ruby@b90be12699fdfcbee4440c2bba85f6f460446bb0 # v1.279.0
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
matrix:
suite: ["High-end device", "Mid-range device", "Low-end device"]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: actions/download-artifact@v7
with:
name: benchmark-apps
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-xcframework-variant-slices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ jobs:
sdk: ${{ fromJson(inputs.sdk-list) }}

steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
# We use Xcode 16.4 for building XCFrameworks as it's the standard version available on macos-15 runners.
- run: ./scripts/ci-select-xcode.sh 16.4
shell: bash
Expand Down
31 changes: 11 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
outputs:
run_build_for_prs: ${{ steps.changes.outputs.run_build_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -50,8 +50,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
# As the DistributionSample project uses local SPM, xcodebuild resolves SPM dependencies for all
# sample projects. The Package.swift references binary targets, which in release branch commits points
# to non-existent download URLs. This creates chicken-egg failures when building these sample apps for
Expand Down Expand Up @@ -111,8 +110,7 @@ jobs:
config: Debug

steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
# As the DistributionSample project uses local SPM, xcodebuild resolves SPM dependencies for all
# sample projects. The Package.swift references binary targets, which in release branch commits points
# to non-existent download URLs. This creates chicken-egg failures when building these sample apps for
Expand Down Expand Up @@ -158,8 +156,7 @@ jobs:
if: startsWith(github.ref, 'refs/heads/release/') == false && (github.event_name != 'pull_request' || needs.files-changed.outputs.run_build_for_prs == 'true')
needs: files-changed
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4
shell: sh

Expand All @@ -181,8 +178,7 @@ jobs:
if: startsWith(github.ref, 'refs/heads/release/') == false && (github.event_name != 'pull_request' || needs.files-changed.outputs.run_build_for_prs == 'true')
needs: files-changed
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4
shell: sh
- run: rm -r Sentry.xcodeproj && rm -r Sentry.xcworkspace
Expand Down Expand Up @@ -210,7 +206,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4
- run: |
./scripts/sentry-xcodebuild.sh \
Expand All @@ -236,8 +232,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4

- name: Build for Debug
Expand All @@ -264,8 +259,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4

- name: Build for Release
Expand All @@ -292,8 +286,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4

- name: Build for Debug
Expand All @@ -320,8 +313,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4

- name: Build for Release
Expand Down Expand Up @@ -352,8 +344,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
# If the SentryAsyncSafeLog doesn't contain the SENTRY_ASYNC_SAFE_LOG_LEVEL_ERROR this fails.
- name: Async Safe Log Level is Error
run: grep -c "SENTRY_ASYNC_SAFE_LOG_LEVEL SENTRY_ASYNC_SAFE_LOG_LEVEL_ERROR" Sources/Sentry/SentryAsyncSafeLog.h
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/changelog-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Changelog Preview
on:
pull_request:
types: [opened, synchronize, reopened, edited, labeled]

permissions:
contents: read
pull-requests: write

jobs:
changelog-preview:
uses: getsentry/craft/.github/workflows/changelog-preview.yml@39ee616a6a58dc64797feecb145d66770492b66c # v2
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/changes-in-high-risk-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
high_risk_code: ${{ steps.changes.outputs.high_risk_code }}
high_risk_code_files: ${{ steps.changes.outputs.high_risk_code_files }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
outputs:
run_codeql_analysis_for_prs: ${{ steps.changes.outputs.run_codeql_analysis_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -53,8 +53,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6

uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fast-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run_release_for_prs: ${{ steps.changes.outputs.run_release_for_prs }}
run_unit_tests_for_prs: ${{ steps.changes.outputs.run_unit_tests_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
run_integration_test_for_prs: ${{ steps.changes.outputs.run_integration_test_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -40,8 +40,7 @@ jobs:
runs-on: macos-15
steps:
- name: Checkout Repository
uses: actions/checkout@v6

uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Select Xcode
run: ./scripts/ci-select-xcode.sh 16.4

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-clang-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
run_lint_clang_formatting_for_prs: ${{ steps.changes.outputs.run_lint_clang_formatting_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -43,7 +43,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Install tooling
run: make init-ci-format

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-cocoapods-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
run_lint_cocoapods_specs_for_prs: ${{ steps.changes.outputs.run_lint_cocoapods_specs_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -48,7 +48,7 @@ jobs:
library_type: ["dynamic", "static"]

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: ./scripts/ci-select-xcode.sh 16.4
# We need to update the spec-repo, because it can happen that it is not up to date and then the lint fails.
- run: pod repo update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-dprint-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
outputs:
run_lint_dprint_for_prs: ${{ steps.changes.outputs.run_lint_dprint_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -45,7 +45,7 @@ jobs:
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: dprint/check@v2.3

lint-dprint-required-check:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-shellcheck-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
outputs:
run_lint_shellcheck_for_prs: ${{ steps.changes.outputs.run_lint_shellcheck_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -45,7 +45,7 @@ jobs:
needs: files-changed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- run: shellcheck **/*.sh

lint-shellcheck-required-check:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/lint-swift-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
run_lint_swift_formatting_for_prs: ${{ steps.changes.outputs.run_lint_swift_formatting_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -41,8 +41,7 @@ jobs:
needs: files-changed
runs-on: macos-15
steps:
- uses: actions/checkout@v6

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Install tooling
run: make init-ci-format

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-swiftlint-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
run_lint_swiftlint_for_prs: ${{ steps.changes.outputs.run_lint_swiftlint_for_prs }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -40,7 +40,7 @@ jobs:
name: Lint
runs-on: macos-15
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Install tooling
run: make init-ci-format
- run: swiftlint --version
Expand Down
Loading
Loading