Skip to content

Commit

Permalink
Merge pull request #921 from SimonMarquis/sarif
Browse files Browse the repository at this point in the history
Enable SARIF support on GitHub Actions
  • Loading branch information
dturner authored Dec 11, 2024
2 parents d8b735f + 2e1232c commit 57d98cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ class AndroidLintConventionPlugin : Plugin<Project> {

private fun Lint.configure() {
xmlReport = true
sarifReport = true
checkDependencies = true
}

0 comments on commit 57d98cc

Please sign in to comment.