Skip to content

Commit f29febb

Browse files
Update codeql.yml
1 parent 7f4feaf commit f29febb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ on:
3232
- '**/*.pdf' # .pdf files anywhere in the repo
3333
- '**/*.cursorrules' # .cursorrules files anywhere in the repo
3434

35-
workflow_dispatch:
36-
3735
schedule:
3836
- cron: '0 0 * * 6' # Runs at 8 AM Singapore time (00:00 UTC) every Saturday
3937

38+
env:
39+
SCHEME: "XLKit-CI"
40+
4041
jobs:
4142
analyze:
4243
name: Analyze (${{ matrix.language }})
@@ -120,8 +121,8 @@ jobs:
120121
- if: matrix.build-mode == 'manual' && matrix.language == 'swift'
121122
shell: bash
122123
run: |
123-
swift package resolve
124-
swift build
124+
# Try the same approach as your working build.yml but without xcbeautify
125+
xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "XLKit-CI" -destination "generic/platform=macOS,name=Any Mac"
125126
126127
- name: Perform CodeQL Analysis
127128
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)