Skip to content

Commit e33672f

Browse files
committed
Add CodeQL action
1 parent f07ab52 commit e33672f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
run-codeql-linux:
11+
name: Run CodeQL
12+
runs-on: ubuntu-latest
13+
permissions:
14+
security-events: write
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v3
19+
20+
- name: Initialize CodeQL
21+
uses: github/codeql-action/init@v2
22+
with:
23+
languages: swift
24+
25+
- name: Build
26+
run: swift build
27+
28+
- name: Perform CodeQL Analysis
29+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)