From a8352aed58f29cfac6316f0921f18162ca3be8aa Mon Sep 17 00:00:00 2001 From: Vehovec Date: Thu, 5 Oct 2023 16:41:36 +0200 Subject: [PATCH] chore: set up gradle for the ci --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b07d1d77..1f4a835b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,11 +29,14 @@ jobs: distribution: 'zulu' java-version: '11' - - name: Set up Gradle + - name: Set up Gradle cache uses: gradle/gradle-build-action@v2 + with: + cache-read-only: ${{ github.ref != 'refs/heads/development' }} - name: Check code style - run: cd android && ./gradlew ktlintCheck + run: ./gradlew ktlintCheck + working-directory: android test-build-typescript: name: Build Typescript