Skip to content

Merge branch 'release/8.42.0-beta.1' #10468

Merge branch 'release/8.42.0-beta.1'

Merge branch 'release/8.42.0-beta.1' #10468

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