Update codeql.yml
This commit is contained in:
parent
20c560da13
commit
455d781178
13
.github/workflows/codeql.yml
vendored
13
.github/workflows/codeql.yml
vendored
@ -1,10 +1,8 @@
|
||||
name: CodeQL
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
schedule:
|
||||
- cron: "0 0 * * 1" # every Monday
|
||||
|
||||
jobs:
|
||||
codeql:
|
||||
@ -42,16 +40,11 @@ jobs:
|
||||
with:
|
||||
languages: cpp
|
||||
|
||||
- name: Build init
|
||||
run: |
|
||||
bash build.sh init
|
||||
|
||||
- name: Build project
|
||||
shell: bash
|
||||
run: |
|
||||
rm -rf build_debug
|
||||
bash build.sh debug
|
||||
cd build_debug && make -j4 && cd -
|
||||
bash build.sh debug --init --make -j3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user