modernize tests #102
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: Check and build | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: ktlint | |
run: ./gradlew clean ktlintCheck | |
- name: Regular lint | |
run: ./gradlew app:lintGreenDebug | |
- name: Test | |
run: ./gradlew app:testGreenDebugUnitTest | |
- name: Build | |
run: ./gradlew app:buildGreenDebug |