mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
Update CodeQL workflow
This commit is contained in:
parent
cb099ca97d
commit
abe335b829
9
.github/workflows/codeql.yml
vendored
9
.github/workflows/codeql.yml
vendored
|
@ -2,7 +2,7 @@ name: "CodeQL"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ 'dev', 'old-1.2', 'old-clickonce', 'old-master' ]
|
branches: [ 'dev' ]
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ 'dev' ]
|
branches: [ 'dev' ]
|
||||||
|
@ -28,17 +28,18 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: recursive
|
submodules: false # skip fetching webui, they are analyzed separately
|
||||||
|
|
||||||
- uses: actions/setup-dotnet@v2
|
- uses: actions/setup-dotnet@v2
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v2
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
|
queries: +security-extended,security-and-quality
|
||||||
|
|
||||||
- name: Build WebUI
|
|
||||||
run: ./webui/build.sh
|
|
||||||
- name: Build CLI
|
- name: Build CLI
|
||||||
|
if: ${{ matrix.language == 'csharp' }}
|
||||||
run: dotnet build BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
run: dotnet build BililiveRecorder.Cli/BililiveRecorder.Cli.csproj
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
|
|
Loading…
Reference in New Issue
Block a user