Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
69c1fe0f
Commit
69c1fe0f
authored
Jul 06, 2022
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actions: move CodeQL workflow into nightly
parent
e72af290
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
40 deletions
+29
-40
.github/workflows/codeql.yml
+0
-40
.github/workflows/nightly.yml
+29
-0
No files found.
.github/workflows/codeql.yml
deleted
100644 → 0
View file @
e72af290
name
:
"
CodeQL"
on
:
workflow_dispatch
:
schedule
:
-
cron
:
'
21
3
*
*
1'
env
:
docker-registry
:
ghcr.io
jobs
:
analyze
:
# Only run scheduled workflows on the main repository; prevents people
# from using build minutes on their forks.
if
:
github.repository == 'libgit2/libgit2'
name
:
Analyze
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out repository
uses
:
actions/checkout@v2
with
:
fetch-depth
:
0
# Initializes the CodeQL tools for scanning.
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@v1
with
:
languages
:
'
cpp'
-
name
:
Build
run
:
|
mkdir build
cd build
cmake .. -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
cmake --build .
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@v1
.github/workflows/nightly.yml
View file @
69c1fe0f
...
...
@@ -348,3 +348,32 @@ jobs:
run
:
source/ci/coverity.sh
env
:
COVERITY_TOKEN
:
${{ secrets.coverity_token }}
codeql
:
# Only run scheduled workflows on the main repository; prevents people
# from using build minutes on their forks.
if
:
github.repository == 'libgit2/libgit2'
name
:
CodeQL
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out repository
uses
:
actions/checkout@v2
with
:
fetch-depth
:
0
# Initializes the CodeQL tools for scanning.
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@v1
with
:
languages
:
'
cpp'
-
name
:
Build
run
:
|
mkdir build
cd build
cmake .. -DREGEX_BACKEND=pcre -DDEPRECATE_HARD=ON -DUSE_BUNDLED_ZLIB=ON
cmake --build .
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@v1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment