nextcloud-talk-android/.github/workflows/check.yml
Andy Scherzinger eb67a31bd1
Use ktlint plugin instead of manual ktlint tasks
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-17 13:46:44 +01:00

22 lines
573 B
YAML

name: Check
on:
pull_request:
branches: [ master, stable-* ]
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task: [ detekt, ktlintCheck ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 8.0
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}