nextcloud-android/.github/workflows/check.yml
Hannes Achleitner 71a71f49f8 Harmonize check CI jobs
Signed-off-by: Hannes Achleitner <hannes.software@gmx.at>
2021-02-24 14:21:33 +01:00

21 lines
526 B
YAML

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