This action runs a Gradle Lint check on all files in the repo and creates a Github Check Run report with the results.
Required Github token to use for creating the check run
Required XML lint report produced by gradle
Comma delimited list of report ID's to exclude from check report
Check report will be limited to this comma delimited list of issue ID's
Name of the Github check report to be created
name: Android Lint
on:
push:
jobs:
lint:
name: Lint Check
runs-on: ubuntu-18.04
container: mobileposse/dev:latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Lint
uses: mobileposse/github-android-lint-action@v1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
filename: [filename goes here]
exclude: 'MissingTranslation'
report_name: 'Gradle Lint Results'
Compile a version of index.js
that includes all dependencies
npx ncc build dist/index.js -o lib