Running Android Lint #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android Lint | |
run-name: Running Android Lint | |
on: | |
pull_request: | |
branches: | |
- 'development' | |
jobs: | |
android-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Java SDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- name: Run Lint | |
run: ./gradlew lint | |
continue-on-error: false | |
- name: Uploading Lint Report | |
id: artifact-upload-step | |
uses: actions/upload-artifact@v4 | |
with: | |
name: lint-results.html | |
path: app/build/reports/lint-results-debug.html |