diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 17bb1045..af803733 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -52,14 +52,12 @@ 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: @@ -67,7 +65,6 @@ jobs: results_*.txt results_*.sarif results_*.sarif.raw - - name: Upload SARIF files - ${{ each module in parameters.modules }}: uses: github/codeql-action/upload-sarif@v2