Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Use self-hosted

Use self-hosted #25

Workflow file for this run

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