Skip to content

Commit

Permalink
fix ci yml2
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-marcisovsky committed Mar 7, 2024
1 parent f5f74e5 commit de512bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,19 @@ jobs:
idf.py clang-check --project-dir ${{ module.path }} --run-clang-tidy-py run-clang-tidy
mv ${{ module.path }}/warnings.txt warnings_${{ module.name }}.txt
done
- name: Convert clang-tidy results into SARIF output
run: |
for module in ${{ parameters.modules }}; do
./clang-tidy-sarif -o results_${{ module.name }}.sarif.raw warnings_${{ module.name }}.txt
python3 $GITHUB_WORKSPACE/.github/filter_sarif.py -o results_${{ module.name }}.sarif --include-prefix ${GITHUB_WORKSPACE}/ results_${{ module.name }}.sarif.raw
done
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: |
results_*.txt
results_*.sarif
results_*.sarif.raw
- name: Upload SARIF files
- ${{ each module in parameters.modules }}:
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit de512bc

Please sign in to comment.