Skip to content

Commit f4e6843

Browse files
author
fengzero
committed
ci: codeQL
1 parent b349783 commit f4e6843

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

‎.github/workflows/codeql.yml‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
analyze:
11+
name: Analyze
12+
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
contents: read
16+
security-events: write
17+
container: ghcr.io/neugates/build:x86_64-main
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Initialize CodeQL
24+
uses: github/codeql-action/init@v3
25+
with:
26+
languages: 'cpp'
27+
28+
- name: Autobuild
29+
uses: github/codeql-action/autobuild@v3
30+
31+
- name: Perform CodeQL Analysis
32+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)