Update codeql.yml

This commit is contained in:
nauta 2023-09-27 15:38:07 +08:00 committed by GitHub
parent 20c560da13
commit 455d781178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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