From 57565c1e65f043aad78635ab33dd7b96e637752c Mon Sep 17 00:00:00 2001 From: Aashna Narula Date: Tue, 13 Feb 2024 11:43:16 +0000 Subject: [PATCH] Add CheckoutCardManagementStub in the codeql scan --- .github/workflows/codeql-analysis.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5ae644d..89cc9f6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,10 +45,19 @@ jobs: with: languages: ${{ matrix.language }} queries: security-and-quality + debug: true + + # Build and analyze each scheme separately + - name: Build and analyze CheckoutCardManagement + run: | + xcodebuild -scheme CheckoutCardManagement -destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=latest" - - name: Build + - name: Build and analyze CheckoutCardManagementStub run: | - xcodebuild -scheme CheckoutCardManagement -destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=latest" + xcodebuild -scheme CheckoutCardManagementStub -destination "platform=iOS Simulator,name=iPhone 14 Pro,OS=latest" - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + # Perform analysis on the code + - name: Analyze code with CodeQL + uses: github/codeql-action/analyze@v2 + with: + database: ${{ github.workspace }}