Skip to content

Commit 643d569

Browse files
committed
CI: Upload SARIF reports to GitHub
Add one step to the lint workflow that uploads the SARIF output from the checks to GitHub, which will show them in the web interface and allow navigation to the diagnostics.
1 parent e44059d commit 643d569

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ jobs:
2626
packages: "tools platform-tools cmake;3.31.1"
2727
- name: Lint checks
2828
run: ./gradlew lint${{ inputs.build_type }}
29+
- name: Upload SARIF Reports
30+
uses: github/codeql-action/upload-sarif@v3
31+
with:
32+
sarif_file: build/sarif-reports/
33+
category: android-lint

0 commit comments

Comments
 (0)