talk-android/.github/workflows/check.yml
Andy Scherzinger 769a3ef146
add distribution
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-11 18:02:24 +01:00

23 lines
572 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 8
uses: actions/setup-java@v2.5.0
with:
distribution: "temurin"
java-version: 8.0
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}