Skip to content

Avoid CI macro error workaround #8

Avoid CI macro error workaround

Avoid CI macro error workaround #8

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "feature/codeql" ]
pull_request:
branches: [ "feature/codeql" ]
jobs:
run-codeql-linux:
name: Run CodeQL
runs-on: macos-14
env:
DEVELOPER_DIR: "/Applications/Xcode_15.2.0.app/Contents/Developer"
timeout-minutes: 40
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: swift
- name: Build macOS
run: |
set -o pipefail && env NSUnbufferedIO=YES xcodebuild -skipMacroValidation -skipPackagePluginValidation -project "./App/InAppPurchaseViewer/InAppPurchaseViewer.xcodeproj" -scheme "InAppPurchaseViewer" -destination "platform=macOS" clean build | xcpretty
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:swift"