You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/.github/workflows/lint.yml

26 lines
578 B
YAML

name: Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: '11.0.8'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew :app:lintGenericRelease :app:lintGoogleplayRelease
- name: Archive lint reports
uses: actions/upload-artifact@v2
with:
name: lint-reports
if: always()
path: app/build/reports/*.html