Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/kotlin_app' into kotlin_app
Browse files Browse the repository at this point in the history
  • Loading branch information
kl3jvi committed Nov 28, 2021
2 parents 4ea3093 + 6c0131d commit 8a3735c
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
name: Android CI
name: run ktlint

on:
push:
branches: [ kotlin_app ]
branches: [kotlin_app] # Just in case main was not up to date while merging PR
pull_request:
branches: [ kotlin_app ]

types: [opened, synchronize]
jobs:
build:


ktlint:
name: Check Code Quality
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Kotlint
uses: TheFabbiusCorp/gha-kotlin-linter@v1.1
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Kotlin Linter
uses: vroy/gha-kotlin-linter@v3

0 comments on commit 8a3735c

Please sign in to comment.