Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

mobileposse/github-android-lint-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Android Lint Action

This action runs a Gradle Lint check on all files in the repo and creates a Github Check Run report with the results.

Inputs

repo_token

Required Github token to use for creating the check run

filename

Required XML lint report produced by gradle

exclude

Comma delimited list of report ID's to exclude from check report

only

Check report will be limited to this comma delimited list of issue ID's

report_name

Name of the Github check report to be created

Example usage

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'

Publishing

Compile a version of index.js that includes all dependencies

npx ncc build dist/index.js -o lib

About

Runs a Gradle Lint check on all files in the repo and creates a Github "Check Run" report with the results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors