Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hidakatsuya/action-report-android-lint
A GitHub Action to check and report the results of Android Lint in Job Summaries.
https://github.com/hidakatsuya/action-report-android-lint
android github-actions
Last synced: 22 days ago
JSON representation
A GitHub Action to check and report the results of Android Lint in Job Summaries.
- Host: GitHub
- URL: https://github.com/hidakatsuya/action-report-android-lint
- Owner: hidakatsuya
- License: mit
- Created: 2023-08-07T16:41:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-25T15:21:22.000Z (9 months ago)
- Last Synced: 2024-04-26T15:56:25.527Z (9 months ago)
- Topics: android, github-actions
- Language: JavaScript
- Homepage:
- Size: 1.15 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# action-report-android-lint
[![units-test](https://github.com/hidakatsuya/action-report-android-lint/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/hidakatsuya/action-report-android-lint/actions/workflows/test.yml)
A GitHub Action to check and report the results of Android Lint in Job Summaries.
![build summary](./doc/sample-build-summary.png)
See also [Job Summaries for unit-test workflow results](https://github.com/hidakatsuya/action-report-android-lint/actions/workflows/test.yml).
## Usage
```yaml
- 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](https://www.npmjs.com/package/@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](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md).
## 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](https://github.com/hidakatsuya/action-report-android-lint/actions/workflows/release.yml) has passed