Skip to content

Commit

Permalink
Update CodeQL actions to v3 since v2 is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
egorodet committed Jan 4, 2025
1 parent 61270b8 commit 46d8919
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-codeql-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: cpp
config-file: ./.github/codeql/codeql-config.yml
Expand All @@ -88,10 +88,10 @@ jobs:
run: cmake --preset ${{ matrix.config_preset }} -DMETHANE_CODE_COVERAGE_ENABLED:BOOL=OFF -DMETHANE_TESTS_BUILD_ENABLED:BOOL=OFF

- name: CMake Build Preset ${{ matrix.build_preset }}
run: cmake --build --preset ${{ matrix.build_preset }} --parallel 4
run: cmake --build --preset ${{ matrix.build_preset }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
upload: false
output: results
Expand All @@ -107,6 +107,6 @@ jobs:
output: results/cpp-filtered.sarif

- name: Upload Filtered CodeQL Results
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results/cpp-filtered.sarif

0 comments on commit 46d8919

Please sign in to comment.