Skip to content

Commit

Permalink
place the codeql init before the build command
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Sep 25, 2023
1 parent a6e1ae7 commit 51ff57d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
steps:
- uses: actions/checkout@v3.1.0

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

- uses: mxcl/xcodebuild@v1.11.0
with:
platform: ${{ matrix.platform }}
Expand All @@ -33,11 +38,6 @@ jobs:
code-coverage: true
upload-logs: always

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
Expand Down

0 comments on commit 51ff57d

Please sign in to comment.