Skip to content
Merged
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
128 changes: 64 additions & 64 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
name: CodeQL

on:
push:
branches:
- main
paths:
- "Symi/**"
- "SymiTests/**"
- "Symi.xcodeproj/**"
- ".github/workflows/codeql.yml"
pull_request:
branches:
- main
paths:
- "Symi/**"
- "SymiTests/**"
- "Symi.xcodeproj/**"
- ".github/workflows/codeql.yml"
schedule:
- cron: "23 4 * * 1"
workflow_dispatch:
# on:
# push:
# branches:
# - main
# paths:
# - "Symi/**"
# - "SymiTests/**"
# - "Symi.xcodeproj/**"
# - ".github/workflows/codeql.yml"
# pull_request:
# branches:
# - main
# paths:
# - "Symi/**"
# - "SymiTests/**"
# - "Symi.xcodeproj/**"
# - ".github/workflows/codeql.yml"
# schedule:
# - cron: "23 4 * * 1"
# workflow_dispatch:

jobs:
analyze:
name: Analyze (Swift)
runs-on: macos-26
timeout-minutes: 45
permissions:
actions: read
contents: read
security-events: write
env:
CODEQL_DESTINATION: platform=macOS,arch=arm64,variant=Mac Catalyst
# jobs:
# analyze:
# name: Analyze (Swift)
# runs-on: macos-26
# timeout-minutes: 45
# permissions:
# actions: read
# contents: read
# security-events: write
# env:
# CODEQL_DESTINATION: platform=macOS,arch=arm64,variant=Mac Catalyst

strategy:
fail-fast: false
matrix:
language:
- swift
# strategy:
# fail-fast: false
# matrix:
# language:
# - swift

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

- name: Xcode 26.4 auswählen
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "26.4"
# - name: Xcode 26.4 auswählen
# uses: maxim-lobanov/setup-xcode@v1
# with:
# xcode-version: "26.4"

- name: Xcode-Version ausgeben
run: |
xcodebuild -version
xcode-select -p
# - name: Xcode-Version ausgeben
# run: |
# xcodebuild -version
# xcode-select -p

- name: CodeQL initialisieren
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: manual
# - name: CodeQL initialisieren
# uses: github/codeql-action/init@v4
# with:
# languages: ${{ matrix.language }}
# build-mode: manual

- name: Swift Packages auflösen
run: xcodebuild -resolvePackageDependencies -project Symi.xcodeproj -scheme Symi
# - name: Swift Packages auflösen
# run: xcodebuild -resolvePackageDependencies -project Symi.xcodeproj -scheme Symi

- name: App für CodeQL bauen
run: |
xcodebuild build \
-project Symi.xcodeproj \
-scheme Symi \
-destination "${CODEQL_DESTINATION}" \
-derivedDataPath "${RUNNER_TEMP}/DerivedData" \
CODE_SIGNING_ALLOWED=NO
# - name: App für CodeQL bauen
# run: |
# xcodebuild build \
# -project Symi.xcodeproj \
# -scheme Symi \
# -destination "${CODEQL_DESTINATION}" \
# -derivedDataPath "${RUNNER_TEMP}/DerivedData" \
# CODE_SIGNING_ALLOWED=NO

- name: CodeQL analysieren
uses: github/codeql-action/analyze@v4
# - name: CodeQL analysieren
# uses: github/codeql-action/analyze@v4