on: [push, pull_request]
name: CI builds
jobs:
  setup-android:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - run: ./gradlew spotlessCheck build test lintDebug -Dpre-dex=false
    - uses: actions/upload-artifact@master
      with:
        name: Debug APK
        path: app/build/outputs/apk/debug/app-debug.apk