Skip to content

chore: add cache to gradle dependencies #26

chore: add cache to gradle dependencies

chore: add cache to gradle dependencies #26

Workflow file for this run

name: Android CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: code quality with detekt
run: ./gradlew detekt
# - name: test
# run: ./gradlew test
#
# - name: build app
# run: ./gradlew build