Skip to content

Commit 5ce3007

Browse files
committed
Adding codeql checking
Signed-off-by: Matt Farina <[email protected]>
1 parent 05612dd commit 5ce3007

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/codeql.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
name: "CodeQL"
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
jobs:
11+
CodeQL-Build:
12+
runs-on: ubuntu-latest
13+
14+
permissions:
15+
# required for all workflows
16+
security-events: write
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v3
21+
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v2
24+
with:
25+
languages: go
26+
27+
- name: Autobuild
28+
uses: github/codeql-action/autobuild@v2
29+
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)