mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 21:25:35 +03:00
9d632a5abf
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
25 lines
734 B
YAML
25 lines
734 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, spotlessKotlinCheck ]
|
|
steps:
|
|
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: 17
|
|
- name: Check ${{ matrix.task }}
|
|
run: ./gradlew ${{ matrix.task }}
|