diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index 9a7150fe2..5b53e7c41 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -160,6 +160,12 @@ jobs: name: lint-reports path: '**/build/reports/lint-results-*.html' + - name: Upload lint reports (SARIF) + if: always() + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: './' + - name: Check badging run: ./gradlew :app:checkProdReleaseBadging diff --git a/build-logic/convention/src/main/kotlin/AndroidLintConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidLintConventionPlugin.kt index 1734df930..68ca58b2a 100644 --- a/build-logic/convention/src/main/kotlin/AndroidLintConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/AndroidLintConventionPlugin.kt @@ -42,5 +42,6 @@ class AndroidLintConventionPlugin : Plugin { private fun Lint.configure() { xmlReport = true + sarifReport = true checkDependencies = true }