Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
6d13e301
Unverified
Commit
6d13e301
authored
2 years ago
by
Adrien Béraud
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Create codeql-analysis.yml
parent
4d356b6d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/codeql-analysis.yml
+50
-0
50 additions, 0 deletions
.github/workflows/codeql-analysis.yml
with
50 additions
and
0 deletions
.github/workflows/codeql-analysis.yml
0 → 100644
+
50
−
0
View file @
6d13e301
name
:
"
CodeQL"
on
:
push
:
branches
:
[
"
master"
]
pull_request
:
# The branches below must be a subset of the branches above
branches
:
[
"
master"
]
jobs
:
analyze
:
name
:
Analyze
runs-on
:
ubuntu-latest
permissions
:
actions
:
read
contents
:
read
security-events
:
write
strategy
:
fail-fast
:
false
matrix
:
language
:
[
'
cpp'
]
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
# Initializes the CodeQL tools for scanning.
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@v2
with
:
languages
:
${{ matrix.language }}
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
-
name
:
Autobuild
uses
:
github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@v2
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment