Fix: Easy use of Swift classes in Objective-C projects #10473
This file contains 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: 'CodeQL' | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '40 4 * * 6' | |
# 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 | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: macos-13 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['cpp'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- run: >- | |
env NSUnbufferedIO=YES | |
xcodebuild | |
-workspace Sentry.xcworkspace | |
-scheme Sentry | |
-configuration Release | |
-destination platform="iOS Simulator,OS=latest,name=iPhone 14 Pro" | xcpretty && exit ${PIPESTATUS[0]} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |