This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
Use self-hosted #21
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: | |
pull_request: | |
branches: [ main ] | |
types: [ synchronize, opened, reopened, ready_for_review ] | |
jobs: | |
ci: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: oracle | |
- name: Setup Android SDK | |
uses: amyu/setup-android@v4 | |
with: | |
cache-disabled: true | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Detekt | |
run: ./gradlew detekt | |
- name: Kotlinter | |
run: ./gradlew lintKotlin | |
- name: Lint | |
run: ./gradlew lint | |
- name: Check | |
run: ./gradlew check | |
- name: Assemble | |
run: ./gradlew assemble |