Skip to content

Commit

Permalink
Merge pull request #1712 from dedis/work-ci-matteo-lint-report
Browse files Browse the repository at this point in the history
Added lint report for fe2
  • Loading branch information
pierluca authored Dec 28, 2023
2 parents 26e3a95 + fd16345 commit 5d293b9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,19 @@ jobs:
# To run the CI with debug informations, add --info
./gradlew jacocoTestReport --parallel --build-cache
- name: Generate Sarif Lint Report
shell: bash
run: |
# To run the CI with debug informations, add --info
./gradlew lintDebug --parallel --build-cache
- name: Upload lint sarif
uses: github/codeql-action/upload-sarif@v2
if: always()
with:
sarif_file: fe2-android/app/build/reports/lint-results-debug.sarif
category: lint

- name: Cache SonarCloud packages
uses: actions/cache@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions fe2-android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ android {
resources.srcDirs = []
}
}

lint {
sarifReport true
}
}

// Disable every task related to release unit tests
Expand Down

0 comments on commit 5d293b9

Please sign in to comment.