FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cppcheck/.github/workflows/codeql-analysis.yml at main · cppcheck-opensource/cppcheck · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.7k
Code
Pull requests
201
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
cppcheck
/
.github
/
workflows
/
codeql-analysis.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
52 lines (44 loc) · 1.44 KB
Breadcrumbs
cppcheck
/
.github
/
workflows
/
codeql-analysis.yml
Copy path
File metadata and controls
52 lines (44 loc) · 1.44 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
42
43
44
45
46
47
48
49
50
51
52
#
Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
#
Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
name
:
"
CodeQL
"
on
:
push
:
branches
:
-
'
main
'
-
'
releases/**
'
-
'
2.*
'
tags
:
-
'
2.*
'
pull_request
:
permissions
:
contents
:
read
jobs
:
analyze
:
name
:
Analyze
runs-on
:
ubuntu-22.04
permissions
:
security-events
:
write
strategy
:
fail-fast
:
false
matrix
:
#
Override automatic language detection by changing the below list
#
Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language
:
['cpp', 'python']
#
Learn more...
#
https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v6
with
:
persist-credentials
:
false
#
Initializes the CodeQL tools for scanning.
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@v4
with
:
languages
:
${{ matrix.language }}
-
name
:
Build cppcheck
if
:
matrix.language == 'cpp'
run
:
|
make -j$(nproc) CXXOPTS="-Werror" HAVE_RULES=yes CPPCHK_GLIBCXX_DEBUG= cppcheck
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@v4
Back
|
FazBrowse Home
|
New Git URL