-
Notifications
You must be signed in to change notification settings - Fork 560
41 lines (34 loc) · 832 Bytes
/
codeql.yml
File metadata and controls
41 lines (34 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "CodeQL"
permissions:
contents: read
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
schedule:
- cron: '16 11 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Initialize CodeQL
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # 4.36.0
with:
languages: go
- name: Build
run: make build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # 4.36.0
with:
category: "/language:go"