Skip to content

Commit cc17577

Browse files
authored
Merge pull request #200 from mattfarina/codeql
Adding CodeQL scanning
2 parents 2c5535b + bf2d190 commit cc17577

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/codeql.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
name: "CodeQL"
3+
4+
on:
5+
push:
6+
branches: [master]
7+
pull_request:
8+
branches: [master]
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)