Skip to content

thomas7morgen/action-android-lint

 
 

Repository files navigation

action-android-lint status

GitHub Action for Android Lint

This Action generates annotations from Android Lint Report XML.

Usage

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/**'
      - 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/action-android-lint@v1.0.2
        with:
          xml_path: build/reports/lint-results.xml

Author

Yutaro Muta

References

License

action-android-lint is available under the MIT license. See the LICENSE file for more info.

About

GitHub Action for Android Lint

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 94.5%
  • JavaScript 5.5%