mirror of
https://github.com/h3pdesign/Neon-Vision-Editor
synced 2026-04-21 21:37:17 +00:00
43 lines
970 B
YAML
43 lines
970 B
YAML
name: CodeQL
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
schedule:
|
|
- cron: "22 2 * * 1"
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
jobs:
|
|
analyze-swift:
|
|
name: Analyze (swift)
|
|
runs-on: macos-latest
|
|
timeout-minutes: 120
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
languages: swift
|
|
build-mode: manual
|
|
|
|
- name: Build Swift project (manual)
|
|
run: |
|
|
set -euo pipefail
|
|
xcodebuild \
|
|
-project "Neon Vision Editor.xcodeproj" \
|
|
-scheme "Neon Vision Editor" \
|
|
-destination "generic/platform=macOS" \
|
|
CODE_SIGNING_ALLOWED=NO \
|
|
CODE_SIGNING_REQUIRED=NO \
|
|
CODE_SIGN_IDENTITY="" \
|
|
build
|
|
|
|
- name: Perform CodeQL analysis
|
|
uses: github/codeql-action/analyze@v3
|