mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
6cf37e32d9
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> Co-Authored-by: tobiasKaminsky <tobias@kaminsky.me>
22 lines
566 B
YAML
22 lines
566 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 11
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: "adopt"
|
|
java-version: 11
|
|
- name: Check ${{ matrix.task }}
|
|
run: ./gradlew ${{ matrix.task }}
|