-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.05 KB
/
Copy pathcodeql.yml
File metadata and controls
39 lines (35 loc) · 1.05 KB
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
name: codeql
# Static analysis for the public repository. Enable CodeQL on VeyrForge/codehelper
# (GitHub → Settings → Code security) so this workflow can upload results.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
- cron: "17 4 * * 1"
permissions:
contents: read
security-events: write
actions: read
jobs:
analyze:
name: Analyze (go)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: "1.25.7"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
- name: Install build deps
run: sudo apt-get update && sudo apt-get install -y build-essential
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:go"