Add check github action
This commit is contained in:
25
.github/workflow/check.yml
vendored
Normal file
25
.github/workflow/check.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Android SDK Tools
|
||||||
|
uses: android-actions/setup-android@v2
|
||||||
|
|
||||||
|
- name: Setup Java JDK
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '11'
|
||||||
|
cache: 'gradle'
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: ./gradlew check --no-daemon
|
||||||
Reference in New Issue
Block a user