Skip to content

feat: GitHub workflows #16

feat: GitHub workflows

feat: GitHub workflows #16

Workflow file for this run

name: Lint
on: [pull_request, workflow_dispatch]
concurrency:
group: lint-${{ github.event.number }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
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
- name: Get Library Lint Reports
uses: yutailang0119/action-android-lint@v3
with:
report-path: library/build/reports/*.xml
- name: Get Demo Lint Reports
uses: yutailang0119/action-android-lint@v3
with:
report-path: demo/build/reports/*.xml