Skip to content

Commit cc4b9e8

Browse files
author
MUSTAPHA BARKI
committed
fix(codeql): add swift build step to github actions
1 parent e28b543 commit cc4b9e8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/gha-codeql.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ jobs:
3131
- name: Initialize CodeQL
3232
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
3333
with:
34-
languages: actions
34+
languages: actions, swift
3535
queries: security-extended
36+
- name: Build Swift code
37+
run: |
38+
swiftc llvm/test/tools/opt-viewer/Inputs/suppress/s.swift
39+
swiftc llvm/test/tools/opt-viewer/Inputs/unicode-function-name/s.swift
3640
- name: Perform CodeQL Analysis
3741
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3

0 commit comments

Comments
 (0)