Skip to content

Commit

Permalink
Create android.yml (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmr committed Feb 8, 2023
1 parent b8bd267 commit 9bdd17e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Android CI

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Kotlin checkstyle
run: ./gradlew :app:ktlintCheck :form:ktlintCheck :dhis_android_analytics:ktlintCheck :commons:ktlintCheck :compose-table:ktlintCheck :dhis2_android_maps:ktlintCheck :stock-management:ktlintCheck
- name: Build with Gradle
run: ./gradlew build

0 comments on commit 9bdd17e

Please sign in to comment.