Skip to content

Commit

Permalink
CI: test re-adding CodeQL as a separate workflow with no tests, code …
Browse files Browse the repository at this point in the history
…coverage etc
  • Loading branch information
simonmcl committed May 7, 2024
1 parent 08e2baf commit b31a1fc
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CodeQl
on:
push:
branches:
- develop
pull_request:
branches:
- develop

jobs:
deploy:
name: Running unit tests
runs-on: macos-14
steps:
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer'

- name: Checkout repository
uses: actions/checkout@v4.1.1

- name: Get current date
run: echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV

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

- name: Test
run: xcodebuild -scheme KukaiCoreSwift -destination "platform=iOS Simulator,OS=17.2,name=iPhone 15"

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

0 comments on commit b31a1fc

Please sign in to comment.