Skip to content

Commit

Permalink
Update codeql-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arielswalker authored Sep 10, 2024
1 parent d459fd7 commit 44482cc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
codeql:
name: Run cppcheck
name: Run CodeQL
runs-on: ${{ github.repository_owner == 'cFS' && 'linux' || 'ubuntu-latest' }}

steps:
Expand All @@ -30,3 +30,15 @@ jobs:
COMPONENT_PATH: 'cfe'
MAKE_COMMAND: 'make -j8'
TEST_FLAG: 'true'

- name: Archive Sarif
uses: actions/upload-artifact@v4
with:
name: CodeQL-Sarif
path: CodeQL-Sarif

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: CodeQL-Sarif-${{ matrix.scan-type }}/Codeql-${{ matrix.scan-type }}.sarif

0 comments on commit 44482cc

Please sign in to comment.