From 39780b0ba7a8ad76524549b11e538ec15e76149b Mon Sep 17 00:00:00 2001 From: Oleg Shparber Date: Sat, 18 Mar 2023 22:58:09 -0400 Subject: [PATCH] ci(github): fix CodeQL analysis (#1473) --- .github/workflows/codeql-analysis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 732b2ec..05dbe9f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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