Skip to content

Commit

Permalink
CI: add back in codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Feb 15, 2024
1 parent fea6ec7 commit 42e8236
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:



#- name: Initialize CodeQL
# uses: github/codeql-action/init@v3
# with:
# languages: "swift"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "swift"



Expand All @@ -74,17 +74,17 @@ jobs:
#run: xcodebuild test -scheme KukaiCoreSwift -destination "platform=iOS Simulator,OS=16.4,name=iPhone 14" -enableCodeCoverage YES -resultBundlePath "~/xcode-$NOW.xcresult"
run: xcodebuild test -scheme KukaiCoreSwift -destination "platform=iOS Simulator,OS=17.2,name=iPhone 15" -enableCodeCoverage YES -resultBundlePath "~/xcode-$NOW.xcresult"

#- name: Perform CodeQL Analysis
# uses: github/codeql-action/analyze@v3
# with:
# category: "/language:swift"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:swift"

#- name: Upload results
# if: ${{ success() || failure() }}
# uses: actions/[email protected]
# with:
# name: "results-${{ env.NOW }}.xcresult"
# path: "~/xcode-${{ env.NOW }}.xcresult"
- name: Upload results
if: ${{ success() || failure() }}
uses: actions/[email protected]
with:
name: "results-${{ env.NOW }}.xcresult"
path: "~/xcode-${{ env.NOW }}.xcresult"



Expand Down

0 comments on commit 42e8236

Please sign in to comment.