mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-29 09:58:54 +03:00
22 lines
526 B
YAML
22 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 }}
|