From 796224fbe6787aecc2f0c3b5d651fdc6572dffdb Mon Sep 17 00:00:00 2001 From: Aashna Narula Date: Thu, 15 Feb 2024 10:58:19 +0000 Subject: [PATCH] Update Code-QL to scan FrameTests --- .github/workflows/codeql-analysis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 56a4bcde..ce4a980c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,10 +45,17 @@ jobs: with: languages: ${{ matrix.language }} queries: security-and-quality - - - name: Build + + - name: Build Frames run: | xcodebuild -scheme Frames -destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=latest" - - name: Perform CodeQL Analysis + - name: Build FramesTests + run: | + xcodebuild -scheme FramesTests -destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=latest" test + + # Perform analysis on the code + - name: Analyze code with CodeQL uses: github/codeql-action/analyze@v2 + with: + database: ${{ github.workspace }}