You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
GitHub Action for Android Lint
v1.0.1
This Action generates annotations from Android Lint Report XML.
An example workflow(.github/workflows/android-lint.yml) to executing Android Lint follows:
name: AndroidLint
on:
pull_request:
paths:
- .github/workflows/android-lint.yml
- '*/src/**'
- '**.kts'
- gradle/**
- '**.gradle'
- gradle.properties
- gradlew*
jobs:
android_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- run: ./gradlew lint
- uses: yutailang0119/[email protected]
with:
xml_path: build/reports/lint-results.xml
- Generated from actions/typescript-action as template.
- This refer to mobileposse/github-android-lint-action.
action-android-lint is available under the MIT license. See the LICENSE file for more info.