Enable SARIF support on GitHub Actions

Splitted from the initial Lint rework in #759.
pull/921/head
Simon Marquis 1 year ago
parent 851ca6388e
commit 3797ea4290

@ -125,6 +125,12 @@ jobs:
name: lint-reports
path: '**/build/reports/lint-results-*.html'
- name: Upload lint reports (SARIF)
if: always()
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: './'
androidTest:
needs: build
runs-on: macOS-latest # enables hardware acceleration in the virtual machine

@ -42,5 +42,6 @@ class AndroidLintConventionPlugin : Plugin<Project> {
private fun Lint.configure() {
xmlReport = true
sarifReport = true
checkDependencies = true
}

Loading…
Cancel
Save