nextcloud-talk-android/.github/workflows/check.yml
Álvaro Brey ba4f47309a
workflows: use java 11
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-18 17:20:36 +02:00

22 lines
573 B
YAML

name: Check
on:
pull_request:
branches: [ master, stable-* ]
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 }}