Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
edwintorok committed Apr 25, 2024
1 parent e453380 commit b774482
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/codechecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,19 @@ jobs:
logfile: ${{ github.workspace }}/cmds.json
analyze-output: "codechecker_results"

# cppcheck even for other analyzers apparently, this is
# codechecker's output
- uses: whisperity/codechecker-analysis-action@v1
id: codechecker2
with:
report-converter: true
original-analyser: "cppcheck"
original-analysis-output: "codechecker_results"

- name: Upload CodeChecker report
uses: actions/upload-artifact@v4
with:
name: codechecker_results
path: "${{ steps.codechecker.outputs.result-html-dir }}"

- name: Upload CodeChecker report
uses: actions/upload-artifact@v4
with:
name: codechecker_results2
path: "${{ steps.codechecker2.outputs.result-html-dir }}"
# cppcheck even for other analyzers apparently, this is
# codechecker's output
- name: convert to SARIF
shell: bash
run: report-converter "codechecker_results" --type cppcheck --output codechecker.sarif --export sarif

# - name: Upload SARIF report
# uses: github/codeql-action/upload-sarif@v2
# with:
# sarif_file: _build/default/xapi.sarif
- name: Upload SARIF report
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: codechecker.sarif

0 comments on commit b774482

Please sign in to comment.