Skip to content

Merge pull request #126 from VishnuSanal/pre-commit-hook #264

Merge pull request #126 from VishnuSanal/pre-commit-hook

Merge pull request #126 from VishnuSanal/pre-commit-hook #264

Workflow file for this run

name: Android Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set Up JDK Environment
uses: actions/setup-java@v1
with:
distribution: "adopt"
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Spotless Test
run: ./gradlew spotlessCheck --stacktrace
- name: Gradle Build
run: ./gradlew testDebug --stacktrace