Skip to content

Commit d5f54eb

Browse files
authored
adding CodeQL
1 parent 2536df9 commit d5f54eb

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/codeql.yml

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

0 commit comments

Comments
 (0)