Prepare validation chain for entry form #138
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: verify | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Assemble | |
run: ./gradlew androidApp:assemble | |
- name: Test | |
run: ./gradlew test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Lint | |
run: ./gradlew lintDebug | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: reports | |
path: "**/build/reports/lint-results-debug.*" | |
if: always() | |
detekt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Detekt | |
run: ./gradlew detektMetadataMain | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: reports | |
path: "**/build/reports/detekt" | |
if: always() |