Skip to content

Instantly share code, notes, and snippets.

@saqib-github-commits
Created July 31, 2023 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saqib-github-commits/7cb4ff29f3cef09471dc864b6f549e9a to your computer and use it in GitHub Desktop.
Save saqib-github-commits/7cb4ff29f3cef09471dc864b6f549e9a to your computer and use it in GitHub Desktop.
Android Lint - Gtihub Actions
name: Android Lint
run-name: Running Android Lint
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
android-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Run Lint
run: ./gradlew lint
continue-on-error: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment