Skip to content

Commit

Permalink
add lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
newhinton committed Dec 12, 2023
1 parent 7689171 commit 1efa797
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Android Lint

on:
push:
pull_request:
branches-ignore:
- 'master'

jobs:
checkLint:
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 Linter
run: ./gradlew lint
- name: Upload Reports
if: always()
uses: actions/upload-artifact@v3
with:
name: Lint Reports
path: ~/**/build/reports/
retention-days: 30

0 comments on commit 1efa797

Please sign in to comment.