Skip to content

A GitHub Action to check and report the results of Android Lint in Job Summaries.

License

Notifications You must be signed in to change notification settings

hidakatsuya/action-report-android-lint

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

action-report-android-lint

units-test

A GitHub Action to check and report the results of Android Lint in Job Summaries.

build summary

See also Job Summaries for unit-test workflow results.

Usage

  - name: Lint
    run: ./gradlew lint

  - name: Check and report lint results
    uses: hidakatsuya/[email protected]
    with:
      result-path: 'app/build/reports/lint-results-debug.xml'

Alternatively, you can specify a major version, such as hidakatsuya/action-report-android-lint@v1.

result-path

Indicates the relative path from the working directory to Android Lint result XML file. Path patterns by @actions/glob can also be specified.

fail-on-warning (optional)

Indicates whether the action should fail if there is a severity warning issue. Default is true.

follow-symbolic-links (optional)

Indicates whether symbolic links are followed in searching XML files. Default is true.

Versioning

This action follows the recommendations of GitHub Actions Versioning.

Releasing

  1. Make sure CI for main branch has passed
  2. Create a new release to publish to the GitHub Marketplace
  3. Make sure that the release workflow has passed

About

A GitHub Action to check and report the results of Android Lint in Job Summaries.

Topics

Resources

License

Stars

Watchers

Forks