Catch otherwise uncaught exceptions, allow the user to report them #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
tags: | |
- '*' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Gradle Build Action | |
uses: gradle/gradle-build-action@v2 | |
- name: ktlint | |
run: ./gradlew clean ktlintCheck | |
- name: Regular lint | |
run: ./gradlew lintGreenDebug | |
- name: Test | |
run: ./gradlew app:testGreenDebugUnitTest | |
- name: Build | |
run: ./gradlew app:greenDebug |