mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-26 07:37:15 +03:00
ci(github): fix CodeQL analysis (#1473)
This commit is contained in:
parent
2b26c40f5c
commit
39780b0ba7
10
.github/workflows/codeql-analysis.yml
vendored
10
.github/workflows/codeql-analysis.yml
vendored
@ -14,11 +14,12 @@ jobs:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
permissions:
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
@ -40,7 +41,8 @@ jobs:
|
||||
- name: Configure & Build
|
||||
uses: lukka/run-cmake@v10
|
||||
with:
|
||||
buildDirectory: ${{ runner.workspace }}/build/
|
||||
configurePreset: ninja-multi
|
||||
buildPreset: ninja-multi-release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
Loading…
Reference in New Issue
Block a user