File tree Expand file tree Collapse file tree 2 files changed +25
-19
lines changed
Expand file tree Collapse file tree 2 files changed +25
-19
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ name: "CodeQL"
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : ["main"]
66 pull_request :
7- branches : [ "main" ]
7+ branches : ["main"]
88 schedule :
9- - cron : ' 36 1 * * 0'
9+ - cron : " 36 1 * * 0"
1010
1111jobs :
1212 analyze :
@@ -21,21 +21,26 @@ jobs:
2121 fail-fast : false
2222 matrix :
2323 include :
24- - language : actions
25- build-mode : none
26- - language : swift
27- build-mode : autobuild
24+ - language : actions
25+ build-mode : none
26+ - language : swift
27+ build-mode : manual
2828 steps :
29- - name : Checkout repository
30- uses : actions/checkout@v6
29+ - name : Checkout repository
30+ uses : actions/checkout@v6
3131
32- - name : Initialize CodeQL
33- uses : github/codeql-action/init@v4
34- with :
35- languages : ${{ matrix.language }}
36- build-mode : ${{ matrix.build-mode }}
32+ - name : Initialize CodeQL
33+ uses : github/codeql-action/init@v4
34+ with :
35+ languages : ${{ matrix.language }}
36+ build-mode : ${{ matrix.build-mode }}
3737
38- - name : Perform CodeQL Analysis
39- uses : github/codeql-action/analyze@v4
40- with :
41- category : " /language:${{matrix.language}}"
38+ - name : Build Swift Package
39+ if : matrix.language == 'swift'
40+ run : |
41+ swift build
42+
43+ - name : Perform CodeQL Analysis
44+ uses : github/codeql-action/analyze@v4
45+ with :
46+ category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 66.swiftpm
77.swiftpm /xcode /xcuserdata
88xcuserdata
9- .swiftpm /xcode /package.xcworkspace /xcuserdata
9+ .swiftpm /xcode /package.xcworkspace /xcuserdata
10+ .build
You can’t perform that action at this time.
0 commit comments