mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
92d3f08f6a
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
25 lines
640 B
YAML
25 lines
640 B
YAML
name: Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master, stable-* ]
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
task: [ detekt, ktlintCheck ]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: 11
|
|
- name: Check ${{ matrix.task }}
|
|
run: ./gradlew ${{ matrix.task }}
|